MessageContentText constructor

const MessageContentText({
  1. required String value,
  2. @JsonKey.new(includeIfNull: false) List<MessageContentTextAnnotations>? annotations,
})

Factory constructor for MessageContentText

Implementation

const factory MessageContentText({
  /// The data that makes up the text.
  required String value,

  /// A list of annotations that point to specific quotes from specific files.
  @JsonKey(includeIfNull: false)
  List<MessageContentTextAnnotations>? annotations,
}) = _MessageContentText;