ListPerfSamplesResponse.fromJson constructor

ListPerfSamplesResponse.fromJson(
  1. Map json_
)

Implementation

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