Using<T> class
Eager using implementation
- Implementers
Constructors
- Using(T value)
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value → T
-
final
Methods
-
map<
R> (R mapper(T value)) → Using< R> - Alter the value without mutating the field
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
optionally<
O> (T Function(T value) mapper(O optional), Optional< O> optional) → OptionallyUsing<T> - Alter the value if provided a present optional
-
optionally2<
V> (T mapper(T value, V optional), Optional< V> optional) → Using<T> -
toString(
) → String -
A string representation of this object.
inherited
-
within<
R> (R mapper(T value)) → R - Consume the using to result in a value
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited