GroupChatModel class

Implemented types

Constructors

GroupChatModel({required bool canBeDeleted, required String title, required String imageUrl, required List<ChatUserModel> users, String? id, List<ChatMessageModel>? messages, int? unreadMessages, DateTime? lastUsed, ChatMessageModel? lastMessage})
Constructs a GroupChatModel instance.

Properties

canBeDeleted → bool
final
hashCode → int
The hash code for this object.
no setterinherited
id ↔ String?
getter/setter pairoverride
imageUrl → String
final
lastMessage → ChatMessageModel?
final
lastUsed → DateTime?
final
messages → List<ChatMessageModel>?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
title → String
final
unreadMessages → int?
final
users → List<ChatUserModel>
final

Methods

copyWith({String? id, List<ChatMessageModel>? messages, int? unreadMessages, DateTime? lastUsed, ChatMessageModel? lastMessage, bool? canBeDeleted, String? title, String? imageUrl, List<ChatUserModel>? users}) → GroupChatModel
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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