ChatRole constructor

const ChatRole(
  1. String value
)

Creates a new ChatRole with the given value.

Implementation

const ChatRole(this.value);