ListCreativesResponse.fromJson constructor

ListCreativesResponse.fromJson(
  1. Map _json
)

Implementation

ListCreativesResponse.fromJson(core.Map _json)
    : this(
        creatives: _json.containsKey('creatives')
            ? (_json['creatives'] as core.List)
                .map<Creative>((value) => Creative.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        nextPageToken: _json.containsKey('nextPageToken')
            ? _json['nextPageToken'] as core.String
            : null,
      );