ListVolumeRestoresResponse.fromJson constructor

ListVolumeRestoresResponse.fromJson(
  1. Map json_
)

Implementation

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