stopService static method
Unbind and stop the service
Implementation
static Future stopService() async {
bool? isServiceBound =
await _channel.invokeMethod(methodChannelStopService);
if (isServiceBound ?? false) {
return Future.value(isServiceBound);
} else {
return Future.error('OctantService is not started or registered');
}
}