Some<T> class
final
- Inheritance
- Available Extensions
Constructors
- Some(T value)
-
const
Properties
Methods
-
map<
TResult extends Object?> ({required NoneCallback< TResult> none, required SomeCallback<TResult, T> some}) → TResult -
override
-
mapOrNull<
TResult extends Object?> ({NullableNoneCallback< TResult> ? none, NullableSomeCallback<TResult, T> ? some}) → TResult? -
override
-
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 ValueNoneCallback< TResult> none, required ValueSomeCallback<TResult, T> some}) → TResult -
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited