myRadioGroupKey property

GlobalKey<RadioGroupState<T>>? get myRadioGroupKey

Implementation

GlobalKey<RadioGroupState<T>>? get myRadioGroupKey => _myRadioGroupKey;
set myRadioGroupKey (GlobalKey<RadioGroupState<T>>? key)

Implementation

set myRadioGroupKey(GlobalKey<RadioGroupState<T>>? key) {
  if (key == null || key == _myRadioGroupKey) return;
  if (_myRadioGroup?.mounted ?? false) {
    throw MultipleRadioGroupException(radioGroupController: this, key: key);
  }
  _myRadioGroupKey = key;
}