LabelElement.fromJson constructor
Implementation
factory LabelElement.fromJson(Map<String, dynamic> json) {
return LabelElement(
type: json['type'],
scope: json['scope'],
elements: json['elements'] != null
? (json['elements'] as List)
.map((e) => UISchemaElement.fromJson(e))
.toList()
: null,
label: json['label'],
text: json['text'],
options: json['options'],
);
}