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