copyWith method
Implementation
UDocRecord copyWith({UDocMetadata? metadata, String? coverPath, DateTime? lastOpenedAt, bool? favorite, List<String>? collections}) => UDocRecord(
fingerprint: fingerprint,
path: path,
kind: kind,
sizeBytes: sizeBytes,
addedAt: addedAt,
metadata: metadata ?? this.metadata,
coverPath: coverPath ?? this.coverPath,
lastOpenedAt: lastOpenedAt ?? this.lastOpenedAt,
favorite: favorite ?? this.favorite,
collections: collections ?? this.collections,
);