Unwrap<T> class

解包转换

Constructors

Unwrap(T? value)
构造函数 value 包的值

Properties

hashCode int
The hash code for this object.
no setterinherited
json JSON
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value → T?
包的值
final

Methods

defaultValue(T value) → T
map<S>(S? callback(T e)) Unwrap<S>
解包构造成其他的值 callback 构造其他值的回调
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