ListOSImagesResponse.fromJson constructor

ListOSImagesResponse.fromJson(
  1. Map json_
)

Implementation

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