Concentration.fromJson constructor

Concentration.fromJson(
  1. Map json_
)

Implementation

Concentration.fromJson(core.Map json_)
    : this(
        units:
            json_.containsKey('units') ? json_['units'] as core.String : null,
        value: json_.containsKey('value')
            ? (json_['value'] as core.num).toDouble()
            : null,
      );