fromJson method
Load the attributes of the widget descriptor from
Implementation
@override
SDUIWidget fromJson(Map<String, dynamic>? json) {
icon = json?["icon"];
caption = json?["caption"];
return super.fromJson(json);
}
Load the attributes of the widget descriptor from
@override
SDUIWidget fromJson(Map<String, dynamic>? json) {
icon = json?["icon"];
caption = json?["caption"];
return super.fromJson(json);
}