Chat constructor

Chat({
  1. Key? key,
  2. required String currentUserId,
  3. required String? peerId,
  4. required String? peerAvatar,
  5. required String? peerName,
})

Implementation

Chat(
    {Key? key,
    required this.currentUserId,
    required this.peerId,
    required this.peerAvatar,
    required this.peerName})
    : super(key: key);