role property

  1. @override
String get role
override

The role of the chat message sender.

This property represents the role of the entity that sent the chat message, such as 'user', 'assistant', or any other defined role.

Implementation

@override
String get role => 'user';