copyWith method
AxelorBody
copyWith(
{ - int? offset,
- int? limit,
- List<String>? fields,
- bool? translate,
- List<String>? sortBy,
- String? action,
- List<MapEntry<String, List<String>>>? related,
- Map<String, dynamic>? data,
- String? domain,
- Map<String, dynamic>? domainContext,
- bool? archived,
- AxelorCriteria? criteria,
- int? version,
- int? id,
})
Implementation
AxelorBody copyWith({
int? offset,
int? limit,
List<String>? fields,
bool? translate,
List<String>? sortBy,
String? action,
List<MapEntry<String, List<String>>>? related,
Map<String, dynamic>? data,
String? domain,
Map<String, dynamic>? domainContext,
bool? archived,
AxelorCriteria? criteria,
int? version,
int? id,
}) {
return AxelorBody(
offset: offset ?? this.offset,
limit: limit ?? this.limit,
fields: fields ?? this.fields,
translate: translate ?? this.translate,
sortBy: sortBy ?? this.sortBy,
action: action ?? this.action,
related: related ?? this.related,
data: data ?? this.data,
domain: domain ?? this.domain,
domainContext: domainContext ?? this.domainContext,
archived: archived ?? this.archived,
criteria: criteria ?? this.criteria,
version: version ?? this.version,
id: id ?? this.id,
);
}