retry method

FutureOr<void> retry()

Retries all offline operations for current type.

Implementation

FutureOr<void> retry() async {
  if (isNotEmpty) {
    await Future.wait(map((operation) {
      return operation.retry();
    }));
  }
}