HostedFileContent class
Represents a reference to a file hosted by the AI service.
Constructors
- HostedFileContent({required String fileId, String? mediaType, String? name, Object? rawRepresentation, AdditionalPropertiesDictionary? additionalProperties})
- Creates a new HostedFileContent.
Properties
- additionalProperties ↔ AdditionalPropertiesDictionary?
-
Additional properties.
getter/setter pairinherited
- fileId → String
-
The identifier of the hosted file.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- mediaType → String?
-
The MIME type of the file.
final
- name → String?
-
The name of the file.
final
- rawRepresentation ↔ Object?
-
The underlying implementation-specific representation of this content.
getter/setter pairinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
hasTopLevelMediaType(
String mediaType) → bool - Returns whether the file has the given top-level media type.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited