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