isRegistered property Null safety

bool isRegistered

Whether this property is currently registered with a RestorationMixin.

Implementation

@protected
bool get isRegistered {
  assert(_debugAssertNotDisposed());
  return _restorationId != null;
}