BatchGetMediaItemsResponse.fromJson constructor

BatchGetMediaItemsResponse.fromJson(
  1. Map json_
)

Implementation

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