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