ChatRow constructor

const ChatRow({
  1. required String id,
  2. String? avatar,
  3. String? name,
  4. required String members,
  5. required int kindIndex,
  6. required bool isHidden,
  7. String? muted,
  8. String? directLink,
  9. required PreciseDateTime createdAt,
  10. required PreciseDateTime updatedAt,
  11. required String lastReads,
  12. PreciseDateTime? lastDelivery,
  13. String? firstItem,
  14. String? lastItem,
  15. String? lastReadItem,
  16. required int unreadCount,
  17. required int totalCount,
  18. String? ongoingCall,
  19. double? favoritePosition,
  20. required int membersCount,
  21. required String ver,
  22. String? lastItemCursor,
  23. String? lastReadItemCursor,
  24. String? recentCursor,
  25. String? favoriteCursor,
})

Implementation

const ChatRow(
    {required this.id,
    this.avatar,
    this.name,
    required this.members,
    required this.kindIndex,
    required this.isHidden,
    this.muted,
    this.directLink,
    required this.createdAt,
    required this.updatedAt,
    required this.lastReads,
    this.lastDelivery,
    this.firstItem,
    this.lastItem,
    this.lastReadItem,
    required this.unreadCount,
    required this.totalCount,
    this.ongoingCall,
    this.favoritePosition,
    required this.membersCount,
    required this.ver,
    this.lastItemCursor,
    this.lastReadItemCursor,
    this.recentCursor,
    this.favoriteCursor});