TimeSeries.fromJson constructor

TimeSeries.fromJson(
  1. Map json_
)

Implementation

TimeSeries.fromJson(core.Map json_)
    : this(
        datedValues: json_.containsKey('datedValues')
            ? (json_['datedValues'] as core.List)
                .map((value) => DatedValue.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );