copyWith method
Copies this CollectionEntry to a new instance.
Implementation
CollectionEntry copyWith({
String? id,
String? collection,
String? foreignId,
Map<String, Object>? data,
DateTime? createdAt,
DateTime? updatedAt,
}) =>
CollectionEntry(
id: id ?? this.id,
collection: collection ?? this.collection,
foreignId: foreignId ?? this.foreignId,
data: data ?? this.data,
createdAt: createdAt ?? this.createdAt,
updatedAt: updatedAt ?? this.updatedAt,
);