CreateTimeSeriesSummary.fromJson constructor

CreateTimeSeriesSummary.fromJson(
  1. Map json_
)

Implementation

CreateTimeSeriesSummary.fromJson(core.Map json_)
    : this(
        errors: json_.containsKey('errors')
            ? (json_['errors'] as core.List)
                .map((value) => Error.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        successPointCount: json_.containsKey('successPointCount')
            ? json_['successPointCount'] as core.int
            : null,
        totalPointCount: json_.containsKey('totalPointCount')
            ? json_['totalPointCount'] as core.int
            : null,
      );