Modality class final

Content Part modality

Constructors

Modality(String value)
const
Modality.fromJson(Object? json)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
isNotDefault bool
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value String
finalinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Object?
inherited
toString() String
A string representation of this object.
override

Operators

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

Constants

$default → const Modality
The default value for Modality.
audio → const Modality
Audio.
document → const Modality
Document, e.g. PDF.
image → const Modality
Image.
modalityUnspecified → const Modality
Unspecified modality.
text → const Modality
Plain text.
video → const Modality
Video.