fromJson method
Load the attributes of the widget descriptor from
Implementation
@override
SDUIWidget fromJson(Map<String, dynamic>? json) {
name = json?['name'] ?? 'name';
currency = json?['currency'];
moneyColor = json?['moneyColor'];
keyboardColor = json?['keyboardColor'];
value = json?['value'];
maxLength = json?['maxLength'] ?? 7;
keyboardButtonSize = json?['keyboardButtonSize'] ?? 70.0;
numberFormat = json?['numberFormat'];
return this;
}