syncQueueState method
Synchronizes the queue state with the actual task state
Called to clean up "stuck" tasks
Implementation
@override
Future<bool> syncQueueState() async {
try {
final result = await methodChannel.invokeMethod<bool>('syncQueueState');
return result ?? false;
} on PlatformException catch (e) {
throw PlatformException(
code: e.code,
message: e.message,
details: e.details,
);
}
}