role property

MessageRole get role
inherited

The entity that produced the message. One of user or assistant.

Implementation

MessageRole get role => throw _privateConstructorUsedError;