isRegistered property Null safety

bool isRegistered

Whether this property is currently registered with a RestorationMixin.

Implementation

@protected
bool get isRegistered {
  assert(ChangeNotifier.debugAssertNotDisposed(this));
  return _restorationId != null;
}