ConversationSource class
- Annotations
-
- @freezed
Constructors
- ConversationSource.new({@JsonKey(name: 'channel', required: true) required String channel, @JsonKey(name: 'subject') required String? subject, @JsonKey(name: 'body', required: true) required String body, @JsonKey(name: 'author', required: true) required ConversationParticipant author})
-
constfactory
-
ConversationSource.fromJson(Map<
String, Object?> json) -
factory
Properties
-
Source author
no setterinherited
- body → String
-
Conversation body
no setterinherited
- channel → String
-
Channel
no setterinherited
-
copyWith
→ $ConversationSourceCopyWith<
ConversationSource> -
Create a copy of ConversationSource
with the given fields replaced by the non-null parameter values.
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- subject → String?
-
Conversation subject
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Serializes this ConversationSource to a JSON map.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited