registry property
The RadioGroupRegistry this client register to.
Setting this property automatically register to the new value and unregister the old value.
This should set to null when dispose.
Implementation
RadioGroupRegistry<T>? get registry => _registry;
Implementation
set registry(RadioGroupRegistry<T>? newRegistry) {
if (_registry != newRegistry) {
_registry?.unregisterClient(this);
}
_registry = newRegistry;
_registry?.registerClient(this);
}