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