start method

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

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

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