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