start abstract method

Future<void> start(
  1. FutureOr<void> action(), {
  2. bool enableIntegrationTesting = false,
})

Starts instrumentation of Dart code by the Embrace SDK. This should be wrap the entire contents of your Dart main() function if you wish to capture Dart errors.

You must also call Embrace.instance.start as soon as possible in your Android and iOS native code.

Implementation

Future<void> start(
  FutureOr<void> Function() action, {
  bool enableIntegrationTesting = false,
});