ChatRoomItem class
- Annotations
-
- @JsonSerializable()
Constructors
-
ChatRoomItem({String id = '', String createdOn = '', String name = '', String topic = '', String description = '', String image = '', String ownerId = '', int roomType = 0, int typeOfGroup = 0, int participantCount = 0, int unreadCount = 0, bool hasUnreadMessage = false, bool isFavorite = false, ParticipantInfoModel? participantInfo, List<
String> tags = const [], LastMessageModel? lastMessage, bool notifyStatus = false, List<LeaveGroupHistoriesModel> leaveGroupHistories = const [], List<String> listUserActive = const []}) -
ChatRoomItem.fromJson(Map<
String, dynamic> json) -
factory
Properties
- createdOn ↔ String
-
getter/setter pair
- description ↔ String
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasUnreadMessage ↔ bool
-
getter/setter pair
- id ↔ String
-
getter/setter pair
- image ↔ String
-
getter/setter pair
- isFavorite ↔ bool
-
getter/setter pair
- lastMessage ↔ LastMessageModel?
-
getter/setter pair
-
leaveGroupHistories
↔ List<
LeaveGroupHistoriesModel> -
getter/setter pair
-
listUserActive
↔ List<
String> -
getter/setter pair
- name ↔ String
-
getter/setter pair
- notifyStatus ↔ bool
-
getter/setter pair
- ownerId ↔ String
-
getter/setter pair
- participantCount ↔ int
-
getter/setter pair
- participantInfo ↔ ParticipantInfoModel?
-
getter/setter pair
- roomType ↔ int
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
getter/setter pair
- topic ↔ String
-
getter/setter pair
- typeOfGroup ↔ int
-
getter/setter pair
- unreadCount ↔ int
-
getter/setter pair
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