fromJson method
Load the attributes of the widget descriptor from
Implementation
@override
SDUIWidget fromJson(Map<String, dynamic>? json) {
name = json?["name"] ?? '_no_name_';
value = json?["value"];
required = json?["required"];
hint = json?["hint"];
stretched = json?["stretched"];
outlinedBorder = json?["outlinedBorder"];
return super.fromJson(json);
}