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