getPendingCount static method

Future<int> getPendingCount()

Implementation

static Future<int> getPendingCount() async {
  final p = await OfflineSyncLayer.instance.getPendingOperations();
  return p.length;
}