AssistantTextDelta constructor

AssistantTextDelta({
  1. String? text,
  2. int? blockIndex,
})

Implementation

factory AssistantTextDelta({
  $core.String? text,
  $core.int? blockIndex,
}) {
  final $result = create();
  if (text != null) {
    $result.text = text;
  }
  if (blockIndex != null) {
    $result.blockIndex = blockIndex;
  }
  return $result;
}