launchAndroidIntent property

  1. @visibleForTesting
Future<void> Function(String action) launchAndroidIntent
getter/setter pair

Starts the Android activity for an intent action. Replaced in tests, where the intent plugin does nothing off a device.

Implementation

@visibleForTesting
static Future<void> Function(String action) launchAndroidIntent =
    (action) => AndroidIntent(action: action).launch();