None<T> class

Inheritance

Constructors

None ()

const

Properties

hashCode → int

The hash code for this object.
read-onlyinherited

isDefined → bool

True if the value is Some or None.
read-onlyinherited

isUndefined → bool

True if the value is not Some or None.
read-onlyinherited

runtimeType → Type

A representation of the runtime type of the object.
read-onlyinherited

Methods

noSuchMethod(Invocation invocation) dynamic

Invoked when a non-existent method or property is accessed.
inherited

or(T fallback) T

If the value is Some, the value is returned. If None, null is returned. Otherwise, the value isUndefined, in which case the given fallback value is returned instead.
inherited

toString() String

A string representation of this object.
inherited

Operators

operator ==(Object other) bool

The equality operator.
inherited