getInitialIntent static method

Future<String?> getInitialIntent()

Obtains the custom intent URI of the notification message which launches the app.

If another notification message with a custom intent is selected, the return value will be updated.

Implementation

static Future<String?> getInitialIntent() async {
  final String? result = await _methodChannel.invokeMethod(
    'getInitialIntent',
  );
  return result;
}