choice property

  1. @override
S2Choice<T>? choice
override

Returns a single selected S2Choice

Implementation

@override
S2Choice<T>? get choice {
  return _choice;
}
  1. @override
void choice=(covariant S2Choice<T>? val)
covariantoverride

Override the selected choice with a new one, and validate it

Implementation

@override
set choice(S2Choice<T>? val) {
  _choice = val;
  ////////////// ???????????? /////////////
  // _value = null;
  ////////////// ???????????? /////////////
  validate();
}