copyWith method

Query copyWith({
  1. QueryAction? action,
  2. Map<String, dynamic>? providerArgs,
  3. List<WhereCondition>? where,
})

Implementation

Query copyWith({
  QueryAction? action,
  Map<String, dynamic>? providerArgs,
  List<WhereCondition>? where,
}) =>
    Query(
      action: action ?? this.action,
      providerArgs: providerArgs ?? this.providerArgs,
      where: where ?? this.where,
    );