Text.fromJson constructor
Text.fromJson(
- dynamic json
Implementation
Text.fromJson(dynamic json) {
_largerDark = json['largerDark'] != null ? LargerDark.fromJson(json['largerDark']) : null;
_largeDark = json['largeDark'] != null ? LargeDark.fromJson(json['largeDark']) : null;
_mediumDark = json['mediumDark'] != null ? MediumDark.fromJson(json['mediumDark']) : null;
_mediumLight = json['mediumLight'] != null ? MediumLight.fromJson(json['mediumLight']) : null;
_smallLight = json['smallLight'] != null ? SmallLight.fromJson(json['smallLight']) : null;
_cardHeader = json['cardHeader'] != null ? CardHeader.fromJson(json['cardHeader']) : null;
_infoBox = json['infoBox'] != null ? InfoBox.fromJson(json['infoBox']) : null;
}