@override Future<void> setAppId(String appId) async { try { return await methodChannel.invokeMethod("setAppId", {'appId': appId}); } on PlatformException catch (e) { throw Exception(e.message); } }