progress static method

Map<String, String?>? progress(
  1. int progress,
  2. num max
)

Implementation

static Map<String, String?>? progress(int progress, num max) {
  return {
    'type': 'progress',
    'title': 'Upload Sync in Progress',
    'progress': progress.toString(),
    'max': max.toString(),
  };
}