toJson method
Implementation
@visibleForTesting
Map<String, dynamic> toJson() => {
"code": code.value,
"message": message,
}.clearNulls();
@visibleForTesting
Map<String, dynamic> toJson() => {
"code": code.value,
"message": message,
}.clearNulls();