copyWith method
Implementation
DocumentMedia copyWith({
String? resourceId,
Path? path,
String? mime,
bool? synced,
int? createdAt,
int? updatedAt,
int? size,
}) {
return DocumentMedia(
resourceId: resourceId ?? this.resourceId,
mime: mime ?? this.mime,
path: path ?? this.path,
synced: synced ?? this.synced,
createdAt: createdAt ?? this.createdAt,
updatedAt: updatedAt ?? this.updatedAt,
size: size ?? this.size,
);
}