saveProgress method
Saves the progress to native storage.
completed is the number of completed tasks.
total is the total number of tasks.
Implementation
@override
Future<void> saveProgress({
required int completed,
required int total,
}) async {
await _channel.invokeMethod<void>(
'saveProgress',
<String, dynamic>{
'completed': completed,
'total': total,
},
);
}