handleServerError method
Handles the server error
Implementation
void handleServerError(Map<String, dynamic> json) {
final error = json[JsonConstants.error];
final errorCode = error['code'];
final errorMessage = error['message'];
_logger.severe('Server error code $errorCode: $errorMessage');
}