MessageDeltaContentTextObject class
abstract
Properties
-
copyWith
→ _$$MessageDeltaContentTextObjectImplCopyWith<_$MessageDeltaContentTextObjectImpl>
-
Create a copy of MessageDeltaContent
with the given fields replaced by the non-null parameter values.
no setter
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
index
→ int
-
The index of the content part in the message.
no setter
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
text
→ MessageDeltaContentText?
-
The text content that is part of a message.
no setter
-
type
→ String
-
Always
text
.
no setter
Methods
-
map<TResult extends Object?>({required TResult imageFile(MessageDeltaContentImageFileObject value), required TResult text(MessageDeltaContentTextObject value), required TResult refusal(MessageDeltaContentRefusalObject value), required TResult imageUrl(MessageDeltaContentImageUrlObject value)})
→ TResult
-
inherited
-
mapOrNull<TResult extends Object?>({TResult? imageFile(MessageDeltaContentImageFileObject value)?, TResult? text(MessageDeltaContentTextObject value)?, TResult? refusal(MessageDeltaContentRefusalObject value)?, TResult? imageUrl(MessageDeltaContentImageUrlObject value)?})
→ TResult?
-
inherited
-
maybeMap<TResult extends Object?>({TResult imageFile(MessageDeltaContentImageFileObject value)?, TResult text(MessageDeltaContentTextObject value)?, TResult refusal(MessageDeltaContentRefusalObject value)?, TResult imageUrl(MessageDeltaContentImageUrlObject value)?, required TResult orElse()})
→ TResult
-
inherited
-
maybeWhen<TResult extends Object?>({TResult imageFile(int index, String type, MessageContentImageFile? imageFile)?, TResult text(int index, String type, MessageDeltaContentText? text)?, TResult refusal(int index, String type, String? refusal)?, TResult imageUrl(int index, String type, MessageContentImageUrl? imageUrl)?, required TResult orElse()})
→ TResult
-
inherited
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson()
→ Map<String, dynamic>
-
Serializes this MessageDeltaContent to a JSON map.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited
-
when<TResult extends Object?>({required TResult imageFile(int index, String type, MessageContentImageFile? imageFile), required TResult text(int index, String type, MessageDeltaContentText? text), required TResult refusal(int index, String type, String? refusal), required TResult imageUrl(int index, String type, MessageContentImageUrl? imageUrl)})
→ TResult
-
inherited
-
whenOrNull<TResult extends Object?>({TResult? imageFile(int index, String type, MessageContentImageFile? imageFile)?, TResult? text(int index, String type, MessageDeltaContentText? text)?, TResult? refusal(int index, String type, String? refusal)?, TResult? imageUrl(int index, String type, MessageContentImageUrl? imageUrl)?})
→ TResult?
-
inherited