ListStepThumbnailsResponse.fromJson constructor

ListStepThumbnailsResponse.fromJson(
  1. Map json_
)

Implementation

ListStepThumbnailsResponse.fromJson(core.Map json_)
    : this(
        nextPageToken: json_.containsKey('nextPageToken')
            ? json_['nextPageToken'] as core.String
            : null,
        thumbnails: json_.containsKey('thumbnails')
            ? (json_['thumbnails'] as core.List)
                .map((value) => Image.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );