disableLocation static method
Disable User Location tracking returns the error or success message
Implementation
static Future<String?> disableLocation() async {
if (!_instance._countlyState.isInitialized) {
String message = '"initWithConfig" must be called before "disableLocation"';
log('disableLocation, $message', logLevel: LogLevel.ERROR);
return message;
}
final String? result = await _channel.invokeMethod('disableLocation');
return result;
}