when<TResult extends Object?> method
- @optionalTypeArgs
- required TResult fileCitation(),
- required TResult filePath(),
inherited
Implementation
@optionalTypeArgs
TResult when<TResult extends Object?>({
required TResult Function(
int index,
String type,
@JsonKey(includeIfNull: false) String? text,
@JsonKey(name: 'file_citation', includeIfNull: false)
MessageDeltaContentTextAnnotationsFileCitation? fileCitation,
@JsonKey(name: 'start_index', includeIfNull: false) int? startIndex,
@JsonKey(name: 'end_index', includeIfNull: false) int? endIndex)
fileCitation,
required TResult Function(
int index,
String type,
@JsonKey(includeIfNull: false) String? text,
@JsonKey(name: 'file_path', includeIfNull: false)
MessageDeltaContentTextAnnotationsFilePathObjectFilePath? filePath,
@JsonKey(name: 'start_index', includeIfNull: false) int? startIndex,
@JsonKey(name: 'end_index', includeIfNull: false) int? endIndex)
filePath,
}) =>
throw _privateConstructorUsedError;