MessageContentTextAnnotationsFilePathObject class abstract

Inheritance

Constructors

MessageContentTextAnnotationsFilePathObject({required String type, required String text, @JsonKey(name: 'file_path') required MessageContentTextAnnotationsFilePath filePath, @JsonKey(name: 'start_index') required int startIndex, @JsonKey(name: 'end_index') required int endIndex})
const
factory
MessageContentTextAnnotationsFilePathObject.fromJson(Map<String, dynamic> json)
factory

Properties

copyWith → _$$MessageContentTextAnnotationsFilePathObjectImplCopyWith<_$MessageContentTextAnnotationsFilePathObjectImpl>
Create a copy of MessageContentTextAnnotations with the given fields replaced by the non-null parameter values.
no setter
endIndex int
No Description
no setter
filePath MessageContentTextAnnotationsFilePath
No Description
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
startIndex int
No Description
no setter
text String
The text in the message content that needs to be replaced.
no setter
type String
Always file_path.
no setter

Methods

map<TResult extends Object?>({required TResult fileCitation(MessageContentTextAnnotationsFileCitationObject value), required TResult filePath(MessageContentTextAnnotationsFilePathObject value)}) → TResult
inherited
mapOrNull<TResult extends Object?>({TResult? fileCitation(MessageContentTextAnnotationsFileCitationObject value)?, TResult? filePath(MessageContentTextAnnotationsFilePathObject value)?}) → TResult?
inherited
maybeMap<TResult extends Object?>({TResult fileCitation(MessageContentTextAnnotationsFileCitationObject value)?, TResult filePath(MessageContentTextAnnotationsFilePathObject value)?, required TResult orElse()}) → TResult
inherited
maybeWhen<TResult extends Object?>({TResult fileCitation(String type, String text, MessageContentTextAnnotationsFileCitation fileCitation, int startIndex, int endIndex)?, TResult filePath(String type, String text, MessageContentTextAnnotationsFilePath filePath, int startIndex, int endIndex)?, 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 MessageContentTextAnnotations to a JSON map.
inherited
toString() String
A string representation of this object.
inherited
when<TResult extends Object?>({required TResult fileCitation(String type, String text, MessageContentTextAnnotationsFileCitation fileCitation, int startIndex, int endIndex), required TResult filePath(String type, String text, MessageContentTextAnnotationsFilePath filePath, int startIndex, int endIndex)}) → TResult
inherited
whenOrNull<TResult extends Object?>({TResult? fileCitation(String type, String text, MessageContentTextAnnotationsFileCitation fileCitation, int startIndex, int endIndex)?, TResult? filePath(String type, String text, MessageContentTextAnnotationsFilePath filePath, int startIndex, int endIndex)?}) → TResult?
inherited

Operators

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