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, - String? requestName,
- String? projectID,
- String? repositoryID,
- QueryReturnEntity? returnEntity,
- 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,
String? requestName,
String? projectID,
String? repositoryID,
QueryReturnEntity? returnEntity,
SupabaseQueryTypes? supabaseQueryType,
bool? single,
}) {
return SupabaseQuerySelect(
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,
);
}