value property
T
get
value
The resolved value converted to T.
The conversion happens once; the original resolved object is released afterwards, and resolved returns the converted value from then on.
Implementation
T get value {
if (!_isConverted) {
final resolved = this.resolved;
_slot = resolved is T ? resolved : convert(resolved);
_isConverted = true;
}
return _slot as T;
}