Option<T> class

값이 없을 수 있음을 명시적으로 감싸는 최소 컨테이너다.

Constructors

Option(T? value)
nullable 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

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