static Future<bool> isElginPOS() async { if (Platform.isIOS) return false; try { return await _channel.invokeMethod('isElginPOS'); } on PlatformException catch (e) { throw '${e.message}'; } }