Bin.fromJson constructor

Bin.fromJson(
  1. Map json_
)

Implementation

Bin.fromJson(core.Map json_)
    : this(
        density: json_.containsKey('density')
            ? (json_['density'] as core.num).toDouble()
            : null,
        end: json_.containsKey('end') ? json_['end'] : null,
        start: json_.containsKey('start') ? json_['start'] : null,
      );