logError static method

Future<void> logError(
  1. dynamic error
)

Send a VERBOSE Error or Exception to TestFairy.

Implementation

static Future<void> logError(dynamic error) async {
  TestFairyBase.prepareTwoWayInvoke();
  await TestFairyBase.channel
      .invokeMethod<void>('logError', error.toString());
}