fromJson method
Load the attributes of the widget descriptor from
Implementation
@override
SDUIWidget fromJson(Map<String, dynamic>? json) {
code = json?["code"];
size = json?["size"];
color = json?["color"];
return this;
}
Load the attributes of the widget descriptor from
@override
SDUIWidget fromJson(Map<String, dynamic>? json) {
code = json?["code"];
size = json?["size"];
color = json?["color"];
return this;
}