ChatMessageRequest class
- Available extensions
- Annotations
-
- @JsonSerializable(explicitToJson: true)
Constructors
-
ChatMessageRequest.new({String? message, String? sessionGuid, List<
AttachmentRequest> ? attachments}) -
ChatMessageRequest.fromJson(Map<
String, dynamic> json) -
factory
Properties
-
attachments
→ List<
AttachmentRequest> ? -
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- message → String?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sessionGuid → String?
-
final
Methods
-
copyWith(
{String? message, String? sessionGuid, List< AttachmentRequest> ? attachments}) → ChatMessageRequest -
Available on ChatMessageRequest, provided by the $ChatMessageRequestExtension extension
-
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 ==(
dynamic other) → bool -
The equality operator.
override
Constants
-
fromJsonFactory
→ const ChatMessageRequest Function(Map<
String, dynamic> json) -
toJsonFactory
→ const Map<
String, dynamic> Function(ChatMessageRequest instance)