role property

String? role
final

The producer of the content.

Must be either 'user' or 'model'. Useful to set for multi-turn conversations, otherwise can be left blank or unset.

Implementation

final String? role;