stopTracking method
Stops tracking user activity
Implementation
@override
Future<bool> stopTracking() async {
try {
final bool? result = await _methodChannel.invokeMethod('stopTracking');
return result ?? false;
} on PlatformException catch (e) {
if (kDebugMode) {
print('Error stopping tracking: ${e.message}');
}
return false;
}
}