AIChatMessageTextBlock constructor

const AIChatMessageTextBlock({
  1. required String text,
  2. String id = '',
  3. int? index,
  4. bool isMergeable = true,
  5. Map<String, dynamic> providerData = const {},
})

Creates a visible text block.

Implementation

const AIChatMessageTextBlock({
  required this.text,
  super.id,
  super.index,
  super.isMergeable,
  super.providerData,
});