AdFrameStatus.fromJson constructor
Implementation
factory AdFrameStatus.fromJson(Map<String, dynamic> json) {
return AdFrameStatus(
adFrameType: AdFrameType.fromJson(json['adFrameType'] as String),
explanations:
json.containsKey('explanations')
? (json['explanations'] as List)
.map((e) => AdFrameExplanation.fromJson(e as String))
.toList()
: null,
);
}