copyWith method

SyncFilter copyWith({
  1. Map<String, dynamic>? where,
  2. DateTime? since,
  3. int? limit,
  4. List<String>? fields,
  5. List<String>? excludeFields,
})

Create a copy with modified properties

Implementation

SyncFilter copyWith({
  Map<String, dynamic>? where,
  DateTime? since,
  int? limit,
  List<String>? fields,
  List<String>? excludeFields,
}) {
  return SyncFilter(
    where: where ?? this.where,
    since: since ?? this.since,
    limit: limit ?? this.limit,
    fields: fields ?? this.fields,
    excludeFields: excludeFields ?? this.excludeFields,
  );
}