onFailedCall property

void Function(MethodCallContext callContext, Object error, StackTrace stackTrace)? onFailedCall
final

Callback when any call to the server fails or an exception is thrown.

Implementation

final void Function(
  MethodCallContext callContext,
  Object error,
  StackTrace stackTrace,
)?
onFailedCall;