toJson method
Implementation
Map toJson() {
Map _result = {};
if (attribute != null) _result.addAll({"attribute": attribute});
if (value != null) _result.addAll({"value": value});
if (range != null) _result.addAll({"range": range!.toJson()});
if (confidence != null) _result.addAll({"confidence": confidence});
return _result;
}