copyWith method
CollectionObject
copyWith({
- String? id,
- String? name,
- int? prjId,
- CollectionSchema? schema,
- CollectionRole? role,
- List<
String> ? keys,
Implementation
CollectionObject copyWith({
final String? id,
final String? name,
final int? prjId,
final CollectionSchema? schema,
final CollectionRole? role,
final List<String>? keys,
}) =>
CollectionObject(
id: id ?? this.id,
name: name ?? this.name,
prjId: prjId ?? this.prjId,
schema: schema ?? this.schema,
role: role ?? this.role,
keys: keys ?? this.keys,
);