setMockMethodCallHandler method

  1. @Deprecated("Use setMockAsynchronousMethodCallHandler instead of setMockMethodCallHandler.")
  2. @override
void setMockMethodCallHandler(
  1. Future? handler(
    1. MethodCall call
    )?
)

Implementation

@Deprecated(
    "Use setMockAsynchronousMethodCallHandler instead of setMockMethodCallHandler.")
@override
void setMockMethodCallHandler(Future? Function(MethodCall call)? handler) {
  throw UnsupportedError(
      "Use setMockAsynchronousMethodCallHandler instead of setMockMethodCallHandler.");
}