sync method

dynamic sync(
  1. BuildContext context
)

Implementation

sync(BuildContext context) async {
  resetService('age');
  pr = ProgressDialog(context, type: ProgressDialogType.download, isDismissible: true);
  await pr!.show();
  //startWithService('syncService', syncDispatcher);
  onServiceComplete('age');
}