getAppInstanceId method

  1. @override
Future<String?> getAppInstanceId()
override

Retrieves the app instance id from the service.

Implementation

@override
Future<String?> getAppInstanceId() {
  try {
    return channel.invokeMethod<String?>('Analytics#getAppInstanceId');
  } catch (e, s) {
    convertPlatformException(e, s);
  }
}