hasValue property Null safety

bool hasValue
override

Returns true when value is available.

Implementation

@override
bool get hasValue => _wrapper.value != null;