FileData class final

A Part with Firebase Storage uri as prompt content

Inheritance

Constructors

FileData(String mimeType, String fileUri, {MediaResolution? mediaResolution, bool? isThought})
const

Properties

fileUri → String
The gs:// or https:// uri of the file.
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 FileData.
final
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() → Object
Convert the Part content to json format.
override
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited