Emphasis.fromJson constructor
Emphasis.fromJson(
- Object? raw
Implementation
factory Emphasis.fromJson(Object? raw) {
final json = JsonValue.map(raw) ?? const <String, dynamic>{};
return Emphasis(
label: json['label'] != null ? Label.fromJson(json['label']) : null,
itemStyle: json['itemStyle'] != null
? ItemStyle.fromJson(json['itemStyle'])
: null,
);
}