ListScanRunsResponse.fromJson constructor

ListScanRunsResponse.fromJson(
  1. Map json_
)

Implementation

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