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