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,
      );