@override Future onesignalKey() async { try { var result = await platform.invokeMethod('onesignalKey'); return result; } on PlatformException { return ''; } }