copyWith method
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,
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,
);
}