checkPOSService method
Implementation
Future<String?> checkPOSService() async {
try {
return await methodChannel.invokeMethod<String>('checkPOSService');
} on PlatformException catch (e) {
return "POS service check failed: ${e.message}";
}
}