Point.fromJson constructor

Point.fromJson(
  1. Map _json
)

Implementation

Point.fromJson(core.Map _json)
    : this(
        time: _json.containsKey('time') ? _json['time'] as core.String : null,
        value: _json.containsKey('value')
            ? (_json['value'] as core.num).toDouble()
            : null,
      );