getAnalyticsInstallationId method

Future<String?> getAnalyticsInstallationId()

Implementation

Future<String?> getAnalyticsInstallationId() async {
  try {
    final String? installationId = await _channel.invokeMethod('getAnalyticsInstallationId');
    return installationId;
  } on PlatformException catch (e) {
    print("Failed to get analytics installation id: '${e.message}'.");
    return null;
  }
}