PostCreateRequest class

Request model for creating a new post in a conversation thread.

Annotations
  • @JsonSerializable()

Constructors

PostCreateRequest.new({ItemBody? body, List<String>? categories, String? importance, List<Recipient>? recipients, String? subject})
PostCreateRequest.fromJson(Map<String, dynamic> json)
factory

Properties

body ItemBody?
The body of the post.
final
categories List<String>?
The categories associated with the post.
final
hashCode int
The hash code for this object.
no setterinherited
importance String?
The importance of the post (low, normal, high).
final
recipients List<Recipient>?
The recipients of the post.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
subject String?
The subject of the post.
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