EnumFormComponent.fromJson constructor
Deserializes json
into a FormComponent
Implementation
EnumFormComponent.fromJson(Map<String, dynamic> json, dynamic schema)
: property = json['property'],
data = EnumDataEntity(
value: json['value'],
options: schema['enum'].map<String>((e) => e.toString()).toList()),
options = FormComponentOptions.fromJson(json['options']),
required = json['required'],
fieldId = json['fieldId'];