turnOFFGps method
Implementation
Future<bool> turnOFFGps() async {
var platform = const MethodChannel('com.csi.sellon');
try {
var result = await platform.invokeMethod('offGps');
if (result == "" || result == null) {
result = "";
}
return result;
} on PlatformException catch (e) {
if (kDebugMode) {
print("e adalah $e");
}
}
return true;
}