CreateCollectdTimeSeriesResponse.fromJson constructor

CreateCollectdTimeSeriesResponse.fromJson(
  1. Map json_
)

Implementation

CreateCollectdTimeSeriesResponse.fromJson(core.Map json_)
    : this(
        payloadErrors: json_.containsKey('payloadErrors')
            ? (json_['payloadErrors'] as core.List)
                .map((value) => CollectdPayloadError.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        summary: json_.containsKey('summary')
            ? CreateTimeSeriesSummary.fromJson(
                json_['summary'] as core.Map<core.String, core.dynamic>)
            : null,
      );