toJson method

  1. @visibleForTesting
Map<String, dynamic> toJson()

Implementation

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