FormatUnit class
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
map<TResult extends Object?>({required TResult ether(_FormatUnitEther value), required TResult gwei(_FormatUnitGwei value), required TResult wei(_FormatUnitWei value), required TResult decimals(_FormatUnitValue value)})
→ TResult
-
inherited
-
mapOrNull<TResult extends Object?>({TResult? ether(_FormatUnitEther value)?, TResult? gwei(_FormatUnitGwei value)?, TResult? wei(_FormatUnitWei value)?, TResult? decimals(_FormatUnitValue value)?})
→ TResult?
-
inherited
-
maybeMap<TResult extends Object?>({TResult ether(_FormatUnitEther value)?, TResult gwei(_FormatUnitGwei value)?, TResult wei(_FormatUnitWei value)?, TResult decimals(_FormatUnitValue value)?, required TResult orElse()})
→ TResult
-
inherited
-
maybeWhen<TResult extends Object?>({TResult ether()?, TResult gwei()?, TResult wei()?, TResult decimals(int decimals)?, required TResult orElse()})
→ TResult
-
inherited
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited
-
when<TResult extends Object?>({required TResult ether(), required TResult gwei(), required TResult wei(), required TResult decimals(int decimals)})
→ TResult
-
inherited
-
whenOrNull<TResult extends Object?>({TResult? ether()?, TResult? gwei()?, TResult? wei()?, TResult? decimals(int decimals)?})
→ TResult?
-
inherited