hasValue property

bool get hasValue

Returns true if the dependency has a value or a lazy instantiation callback.

Implementation

bool get hasValue => _value != null || _lazyInstantiateCallback != null;