Singlet<Result> class

Implemented types

Constructors

Singlet()
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

Methods

first(Result result) Union1<Result>
Creates a Union0 wrapping a value @param single the value @return a Union0 object wrapping the value
override
none() Union1<Result>
Creates a Union1 wrapping no value @return a Union1 object wrapping no value
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited