ChatSessionResponse class
- Available extensions
- Annotations
-
- @JsonSerializable(explicitToJson: true)
Constructors
- ChatSessionResponse.new({int? id, String? guid, UserViewModel? taskOwner, UserViewModel? user, TaskViewModel? task, DateTime? lastMessageAt, int? unreadMessages})
-
ChatSessionResponse.fromJson(Map<
String, dynamic> json) -
factory
Properties
- guid → String?
-
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- id → int?
-
final
- lastMessageAt → DateTime?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- task → TaskViewModel?
-
final
- taskOwner → UserViewModel?
-
final
- unreadMessages → int?
-
final
- user → UserViewModel?
-
final
Methods
-
copyWith(
{int? id, String? guid, UserViewModel? taskOwner, UserViewModel? user, TaskViewModel? task, DateTime? lastMessageAt, int? unreadMessages}) → ChatSessionResponse -
Available on ChatSessionResponse, provided by the $ChatSessionResponseExtension 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 ChatSessionResponse Function(Map<
String, dynamic> json) -
toJsonFactory
→ const Map<
String, dynamic> Function(ChatSessionResponse instance)