isSyncing method

bool isSyncing()

Whether the client is syncing

Implementation

bool isSyncing() {
  var tmp0 = 0;
  tmp0 = _box.borrow();
  final tmp1 = _api._clientIsSyncing(
    tmp0,
  );
  final tmp3 = tmp1;
  final tmp2 = tmp3 > 0;
  return tmp2;
}