buildChangeDetectorRef method
Returns a reference to this provider's ChangeDetectorRef
, if necessary.
Returns a non-null result only if this provider instance is a component
that uses ChangeDetectionStrategy.OnPush
. This result is used to
implement ChangeDetectorRef.markChildForCheck()
.
Returns null otherwise.
Implementation
@override
o.Expression? buildChangeDetectorRef() => _changeDetectorRef;