role property
The entity that produced the message. One of user
or assistant
.
Implementation
MessageRole get role => throw _privateConstructorUsedError;
The entity that produced the message. One of user
or assistant
.
MessageRole get role => throw _privateConstructorUsedError;