Unit 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(_UnitEther value), required TResult gwei(_UnitGwei value), required TResult wei(_UnitWei value), required TResult id(_UnitId value)})
→ TResult
-
inherited
-
mapOrNull<TResult extends Object?>({TResult? ether(_UnitEther value)?, TResult? gwei(_UnitGwei value)?, TResult? wei(_UnitWei value)?, TResult? id(_UnitId value)?})
→ TResult?
-
inherited
-
maybeMap<TResult extends Object?>({TResult ether(_UnitEther value)?, TResult gwei(_UnitGwei value)?, TResult wei(_UnitWei value)?, TResult id(_UnitId value)?, required TResult orElse()})
→ TResult
-
inherited
-
maybeWhen<TResult extends Object?>({TResult ether()?, TResult gwei()?, TResult wei()?, TResult id(int id)?, 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 id(int id)})
→ TResult
-
inherited
-
whenOrNull<TResult extends Object?>({TResult? ether()?, TResult? gwei()?, TResult? wei()?, TResult? id(int id)?})
→ TResult?
-
inherited