ConversationCreateRequest class

Request model for creating a new conversation in a group.

Annotations
  • @JsonSerializable.new()

Constructors

ConversationCreateRequest({required String topic, String? message, ItemBody? body, List<Recipient>? recipients})
ConversationCreateRequest.fromJson(Map<String, dynamic> json)
factory

Properties

body → ItemBody?
The body of the message to post.
final
hashCode → int
The hash code for this object.
no setterinherited
message → String?
The message to post to the conversation.
final
recipients → List<Recipient>?
The recipients to include in the conversation.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
topic → String
The topic (subject) of the conversation.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited