ListDataPointChangesResponse.fromJson constructor

ListDataPointChangesResponse.fromJson(
  1. Map json_
)

Implementation

ListDataPointChangesResponse.fromJson(core.Map json_)
    : this(
        dataSourceId: json_.containsKey('dataSourceId')
            ? json_['dataSourceId'] as core.String
            : null,
        deletedDataPoint: json_.containsKey('deletedDataPoint')
            ? (json_['deletedDataPoint'] as core.List)
                .map((value) => DataPoint.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        insertedDataPoint: json_.containsKey('insertedDataPoint')
            ? (json_['insertedDataPoint'] as core.List)
                .map((value) => DataPoint.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        nextPageToken: json_.containsKey('nextPageToken')
            ? json_['nextPageToken'] as core.String
            : null,
      );