GoogleCloudAdvisorynotificationsV1Csv.fromJson constructor

GoogleCloudAdvisorynotificationsV1Csv.fromJson(
  1. Map json_
)

Implementation

GoogleCloudAdvisorynotificationsV1Csv.fromJson(core.Map json_)
    : this(
        dataRows: json_.containsKey('dataRows')
            ? (json_['dataRows'] as core.List)
                .map((value) =>
                    GoogleCloudAdvisorynotificationsV1CsvCsvRow.fromJson(
                        value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        headers: json_.containsKey('headers')
            ? (json_['headers'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
      );