withSyncStatus method

QuerySnapshot<T> withSyncStatus(
  1. bool status
)

Returns a new QuerySnapshot with the status applied

Implementation

// ignore: avoid_positional_boolean_parameters
QuerySnapshot<T> withSyncStatus(bool status) {
  return QuerySnapshot._(
    sortedList: _sortedList,
    isSynced: status,
    where: where,
    sortBy: sortBy,
  );
}