ListReferenceImagesResponse.fromJson constructor

ListReferenceImagesResponse.fromJson(
  1. Map json_
)

Implementation

ListReferenceImagesResponse.fromJson(core.Map json_)
    : this(
        nextPageToken: json_.containsKey('nextPageToken')
            ? json_['nextPageToken'] as core.String
            : null,
        pageSize: json_.containsKey('pageSize')
            ? json_['pageSize'] as core.int
            : null,
        referenceImages: json_.containsKey('referenceImages')
            ? (json_['referenceImages'] as core.List)
                .map((value) => ReferenceImage.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );