role property
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;
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.
final String? role;