static fun valueOf(value: UInt256): Gas
(source)static fun valueOf(value: Long): Gas
(source)static fun valueOf(value: BigInteger): Gas
(source)
Return a Gas containing the specified value.
value
- The value to create a Gas for.
IllegalArgumentException
- If the value is negative.
Return
A Gas containing the specified value.