TimeseriesBin.fromJson constructor

TimeseriesBin.fromJson(
  1. Map json_
)

Implementation

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