UIResources.fromJson constructor
Returns a UIResources type from a JSON
Implementation
factory UIResources.fromJson(Map<String, dynamic> data) {
var self = UIResources();
self._map["customBundleIdentifier"] = data['customBundleIdentifier'];
self._map["customStringTableName"] = data['customStringTableName'];
self._map["isDynamicTypeEnabled"] = data['isDynamicTypeEnabled'];
self._map["textSize"] = data['textSize'];
self._map["sectionHeaderTextSize"] = data['sectionHeaderTextSize'];
self._map["rowLabelTextSize"] = data['rowLabelTextSize'];
self._map["buttonHeight"] = data['buttonHeight'];
self._map["buttonCornerRadius"] = data['buttonCornerRadius'];
self._map["buttonTextSize"] = data['buttonTextSize'];
self._map["buttonTextWeight"] = data['buttonTextWeight'];
self._map["buttonStrokeWidth"] = data['buttonStrokeWidth'];
self._map["buttonIconSize"] = data['buttonIconSize'];
self._map["wireframeStrokeWidth"] = data['wireframeStrokeWidth'];
self._map["buttonContentInsets"] = data['buttonContentInsets'] == null
? null
: Map<String, dynamic>.from(data['buttonContentInsets']);
self._map["sectionHeaderFont"] = data['sectionHeaderFont'] == null
? null
: Map<String, dynamic>.from(data['sectionHeaderFont']);
self._map["textFont"] = data['textFont'] == null
? null
: Map<String, dynamic>.from(data['textFont']);
self._map["buttonFont"] = data['buttonFont'] == null
? null
: Map<String, dynamic>.from(data['buttonFont']);
self._map["textFieldFont"] = data['textFieldFont'] == null
? null
: Map<String, dynamic>.from(data['textFieldFont']);
self._map["titleFont"] = data['titleFont'] == null
? null
: Map<String, dynamic>.from(data['titleFont']);
self._map["rowLabelFont"] = data['rowLabelFont'] == null
? null
: Map<String, dynamic>.from(data['rowLabelFont']);
return self;
}