TimeseriesBin.fromJson constructor
TimeseriesBin.fromJson(
- Map json_
Implementation
TimeseriesBin.fromJson(core.Map json_)
: this(
densities: json_.containsKey('densities')
? (json_['densities'] as core.List)
.map((value) => (value as core.num).toDouble())
.toList()
: null,
end: json_.containsKey('end') ? json_['end'] : null,
start: json_.containsKey('start') ? json_['start'] : null,
);