toJson method
Implementation
@override
Map<String, Object?> toJson() => {
if (code != null) "code": encodeValue(code),
if (message != null) "message": encodeValue(message),
if (retryable != null) "retryable": encodeValue(retryable),
if (at != null) "at": encodeValue(at),
};