discontinuedPackage dio_cache_interceptor_objectbox_store has been discontinued and replaced by http_cache_objectbox_store.

hasValue property

bool get hasValue

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

Implementation

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