Message constructor
Message({
- String? name,
- String? content,
- String? languageCode,
- String? participant,
- Participant_Role? participantRole,
- Timestamp? createTime,
- MessageAnnotation? messageAnnotation,
Implementation
factory Message({
$core.String? name,
$core.String? content,
$core.String? languageCode,
$core.String? participant,
Participant_Role? participantRole,
$22.Timestamp? createTime,
MessageAnnotation? messageAnnotation,
}) {
final _result = create();
if (name != null) {
_result.name = name;
}
if (content != null) {
_result.content = content;
}
if (languageCode != null) {
_result.languageCode = languageCode;
}
if (participant != null) {
_result.participant = participant;
}
if (participantRole != null) {
_result.participantRole = participantRole;
}
if (createTime != null) {
_result.createTime = createTime;
}
if (messageAnnotation != null) {
_result.messageAnnotation = messageAnnotation;
}
return _result;
}