CreativeSpecification.fromJson constructor
CreativeSpecification.fromJson(
- Map _json
Implementation
CreativeSpecification.fromJson(core.Map _json)
: this(
creativeCompanionSizes: _json.containsKey('creativeCompanionSizes')
? (_json['creativeCompanionSizes'] as core.List)
.map((value) => AdSize.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
creativeSize: _json.containsKey('creativeSize')
? AdSize.fromJson(
_json['creativeSize'] as core.Map<core.String, core.dynamic>)
: null,
);