FilePart class
FilePart represents the different ways files can be provided.
If files are small, directly feeding the bytes is supported via file_with_bytes. If the file is large, the agent should read the content as appropriate directly from the file_with_uri source.
Constructors
Properties
- fileWithBytes ↔ String?
-
getter/setter pair
-
fileWithBytesAsBytes
↔ List<
int> -
getter/setter pair
- fileWithUri ↔ String?
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- mimeType ↔ String?
-
getter/setter pair
- name ↔ String?
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited