toJson method
Implementation
@visibleForTesting
Map<String, dynamic> toJson() => {
"attribute": attribute.value,
"confidence": confidence,
"value": value,
"range": range?.toJson(),
}.clearNulls();
@visibleForTesting
Map<String, dynamic> toJson() => {
"attribute": attribute.value,
"confidence": confidence,
"value": value,
"range": range?.toJson(),
}.clearNulls();