Methods
-
map<TResult extends Object?>({required TResult cm(Centimeter value), required TResult inch(Inch value)})
→ TResult
-
inherited
-
mapOrNull<TResult extends Object?>({TResult? cm(Centimeter value)?, TResult? inch(Inch value)?})
→ TResult?
-
inherited
-
maybeMap<TResult extends Object?>({TResult cm(Centimeter value)?, TResult inch(Inch value)?, required TResult orElse()})
→ TResult
-
inherited
-
maybeWhen<TResult extends Object?>({TResult cm(double value)?, TResult inch(double value, int graduations)?, required TResult orElse()})
→ TResult
-
inherited
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson()
→ Map<String, dynamic>
-
inherited
-
toString()
→ String
-
A string representation of this object.
inherited
-
when<TResult extends Object?>({required TResult cm(double value), required TResult inch(double value, int graduations)})
→ TResult
-
inherited
-
whenOrNull<TResult extends Object?>({TResult? cm(double value)?, TResult? inch(double value, int graduations)?})
→ TResult?
-
inherited