CollectdValue.fromJson constructor

CollectdValue.fromJson(
  1. Map _json
)

Implementation

CollectdValue.fromJson(core.Map _json) {
  if (_json.containsKey("dataSourceName")) {
    dataSourceName = _json["dataSourceName"];
  }
  if (_json.containsKey("dataSourceType")) {
    dataSourceType = _json["dataSourceType"];
  }
  if (_json.containsKey("value")) {
    value = new TypedValue.fromJson(_json["value"]);
  }
}