ToggleParser.fromJson constructor
ToggleParser.fromJson(
- Map<
String, dynamic> json, - OnValueChanged onValueChanged,
- bool isBeforeHeader,
- int index,
Implementation
ToggleParser.fromJson(Map<String, dynamic> json, this.onValueChanged,
this.isBeforeHeader, this.index)
: name = json['name'],
description = json['description'],
id = json['id'],
values = json['values'].cast<String>(),
chosenValue = json['chosen_value'];