copyWith method

  1. @override
SupabaseQuery copyWith({
  1. String? id,
  2. String? type,
  3. String? group,
  4. String? table,
  5. String? select,
  6. int? limit,
  7. int? offset,
  8. String? orderBy,
  9. bool? isCount,
  10. List<SupasetFilterEntity>? filters,
  11. ID? projectID,
  12. String? requestName,
  13. QueryReturnEntity? returnEntity,
  14. ID? repositoryID,
  15. SupabaseQueryTypes? supabaseQueryType,
  16. bool? single,
})
override

Implementation

@override
SupabaseQuery copyWith({
  String? id,
  String? type,
  String? group,
  String? table,
  String? select,
  int? limit,
  int? offset,
  String? orderBy,
  bool? isCount,
  List<SupasetFilterEntity>? filters,
  ID? projectID,
  String? requestName,
  QueryReturnEntity? returnEntity,
  ID? repositoryID,
  SupabaseQueryTypes? supabaseQueryType,
  bool? single,
}) {
  return SupabaseQueryInsert(
    id: id ?? this.id,
    table: table ?? this.table,
    select: select ?? this.select,
    limit: limit ?? this.limit,
    offset: offset ?? this.offset,
    orderBy: orderBy ?? this.orderBy,
    isCount: isCount ?? this.isCount,
    filters: filters ?? this.filters,
    requestName: requestName ?? this.requestName,
    projectID: projectID ?? this.projectID,
    returnEntity: returnEntity ?? this.returnEntity,
    repositoryID: repositoryID ?? this.repositoryID,
    single: single ?? this.single,
  );
}