isPresent property
bool
isPresent
True when this optional contains a value.
Implementation
bool get isPresent => _value != null;
True when this optional contains a value.
bool get isPresent => _value != null;