failNext method

void failNext(
  1. String method
)

Makes the next call named method fail with a PlatformException.

Implementation

void failNext(String method) => _failNext = method;