BatchCreateMediaItemsResponse.fromJson constructor

BatchCreateMediaItemsResponse.fromJson(
  1. Map json_
)

Implementation

BatchCreateMediaItemsResponse.fromJson(core.Map json_)
    : this(
        newMediaItemResults: json_.containsKey('newMediaItemResults')
            ? (json_['newMediaItemResults'] as core.List)
                .map((value) => NewMediaItemResult.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );