InlineDataPart class final
A Part with the byte content of a file.
Constructors
- InlineDataPart(String mimeType, Uint8List bytes, {bool? willContinue, MediaResolution? mediaResolution, bool? isThought})
-
const
Properties
- bytes → Uint8List
-
Data contents in bytes.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isThought → bool?
-
Whether this part is a thought summary.
finalinherited
- mediaResolution → MediaResolution?
-
The resolution of the media.
final
- mimeType → String
-
File type of the InlineDataPart.
https://firebase.google.com/docs/vertex-ai/input-file-requirements#supported-mime-types
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- willContinue → bool?
-
Whether there's more data coming for streaming.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Object -
Convert the Part content to json format.
override
-
toMediaChunkJson(
) → Object - Converts this part to the realtime media chunk json format.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited