hasValue property

bool hasValue

Whether the relation field has a value stored. Otherwise it's null.

Implementation

bool get hasValue => _value._state != _ToOneState.none;