ListScanConfigsResponse.fromJson constructor

ListScanConfigsResponse.fromJson(
  1. Map _json
)

Implementation

ListScanConfigsResponse.fromJson(core.Map _json)
    : this(
        nextPageToken: _json.containsKey('nextPageToken')
            ? _json['nextPageToken'] as core.String
            : null,
        scanConfigs: _json.containsKey('scanConfigs')
            ? (_json['scanConfigs'] as core.List)
                .map<ScanConfig>((value) => ScanConfig.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );