fromJson method
Load the attributes of the widget descriptor from
Implementation
@override
SDUIWidget fromJson(Map<String, dynamic>? json) {
value = json?['value'];
currency = json?['currency'];
color = json?['color'];
numberFormat = json?['numberFormat'];
valueFontSize = json?['valueFontSize'];
currencyFontSize = json?['currencyFontSize'];
bold = json?['bold'];
alignment = json?['alignment'];
locale = json?['locale'];
return super.fromJson(json);
}