toAnthropicJson method
Convert to Anthropic format
Implementation
Map<String, dynamic> toAnthropicJson() {
return {
'id': id,
'size_bytes': sizeBytes,
'created_at': createdAt.toIso8601String(),
'filename': filename,
'type': object,
if (mimeType != null) 'mime_type': mimeType,
if (downloadable != null) 'downloadable': downloadable,
};
}