getAppId method

  1. @override
Future<String> getAppId()
override

Implementation

@override
Future<String> getAppId() async {
  try {
    return await _configChannel
            .invokeMethod<String>(SuperfineSdkChannelMethods.getAppId) ??
        "Unknown";
  } catch (e) {
    print("Error fetching App ID: $e");
    return "Error";
  }
}