errorWithException method
Function to pass a exception and error message.
Implementation
@override
void errorWithException(
String message,
Exception exception,
) {
developer.log(
message,
name: BEAGLE_TAG,
level: Level.SEVERE.value,
);
}