None<T> class final

Inheritance
Available Extensions

Constructors

None()
const

Properties

hashCode int
The hash code for this object.
no setterinherited
isNone bool
no setterinherited
isSome bool
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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