Map<String, dynamic> toMap() { return { 'uri': uri.toString(), 'mime_type': mimeType, 'file_name': fileName, }; }