GroupController constructor Null safety
- {dynamic initSelectedItem = const [],
- bool isMultipleSelection = false}
Implementation
GroupController({
this.initSelectedItem = const [],
this.isMultipleSelection = false,
}) : assert(!(isMultipleSelection == false && initSelectedItem.length > 1),
"you cannot select multiple item when multipleSelection is false");