enableFeedbackForm static method

Future<void> enableFeedbackForm(
  1. String method
)

Enables the ability to present the feedback form based on the method given. Must be called before begin.

Valid values include “shake”, “screenshot” or “shake|screenshot”. If an unrecognized method is passed, the value defined in the build settings will be used.

Implementation

static Future<void> enableFeedbackForm(String method) async {
  TestFairyBase.prepareTwoWayInvoke();
  await TestFairyBase.channel
      .invokeMethod<void>('enableFeedbackForm', method);
}