S2MultiSelected<T> constructor
S2MultiSelected<T> (
- {List<
T> value = const [], - List<
S2Choice< ? choice,T> > - S2MultiSelectedResolver<
T> ? resolver, - S2Validation<
S2MultiChosen< ? validation,T> > - String? placeholder}
Default Constructor
Implementation
S2MultiSelected({
List<T> value = const [],
List<S2Choice<T>>? choice,
this.resolver,
this.validation,
this.placeholder,
}) : _value = List<T>.from(value),
_choice = choice != null ? List<S2Choice<T>>.from(choice) : null;