setTrackUser method
Implementation
@override
Future<bool> setTrackUser(bool enabled) async {
try {
final result = await methodChannel.invokeMethod<bool>('setTrackUser', {
'enabled': enabled,
});
return result ?? false;
} on PlatformException catch (e) {
debugPrint('Error calling setTrackUser: ${e.message}');
return false;
}
}