FractionTimeseries.fromJson constructor

FractionTimeseries.fromJson(
  1. Map json_
)

Implementation

FractionTimeseries.fromJson(core.Map json_)
    : this(
        fractions: json_.containsKey('fractions')
            ? (json_['fractions'] as core.List)
                .map((value) => (value as core.num).toDouble())
                .toList()
            : null,
      );