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