choice property

  1. @override
List<S2Choice<T>> choice
override

Returns the choice item(s)

Implementation

@override
List<S2Choice<T>> get choice => _choice;
  1. @override
void choice=(covariant List<S2Choice<T>>? choice)
covariantoverride

Override choice(s) in the current selection with a new value(s), and validate it

Implementation

@override
set choice(List<S2Choice<T>>? choice) {
  _choice = List<S2Choice<T>>.from(choice ?? []);
  validate();
}