copyWith method
Copy this file with new filename
Implementation
UploadedFile copyWith({String? filename, String? contentType}) {
return UploadedFile.fromBytes(filename: filename ?? this.filename, bytes: _cachedBytes as Uint8List, contentType: contentType ?? this.contentType);
}