toJson method

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

Implementation

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