group property

  1. @override
List<String>? group
override

Returns an array of group of the choice

Implementation

@override
List<String>? get group {
  return isNotEmpty
      ? choice.map((S2Choice<T> item) => item.group).toList().cast<String>()
      : null;
}