ToggleParser constructor
ToggleParser()
Implementation
ToggleParser(
this.name,
this.description,
this.id,
this.chosenValue,
this.values,
this.onValueChanged,
this.isBeforeHeader,
this.index,
this.dateBuilder) {
onValueChangedLocal = (String id, dynamic value) async {
chosenValue = value;
if (onValueChanged != null) {
return await onValueChanged!(id, value);
}
return Future.value(true);
};
}