Map<String, dynamic> toMap() { return <String, dynamic>{ "fieldName": fieldName, "fileName": fileName, "filePath": filePath, "bytes": bytes, }; }