toJson method
Implementation
@visibleForTesting
Map<String, dynamic> toJson() => {
"group": group.value,
"name": name.value,
"status": status.value,
"value": value,
"range": range.toJson(),
}.clearNulls();
@visibleForTesting
Map<String, dynamic> toJson() => {
"group": group.value,
"name": name.value,
"status": status.value,
"value": value,
"range": range.toJson(),
}.clearNulls();