toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
      'chatName': chatName,
      'sizeOfChat': sizeOfChat,
      'names': members,
      'msgContents': _listOfMessageContentsToJson(messages),
      'msgsPerPerson': msgsPerMember,
      'indexesPerPerson': indexesPerMember,
      'imagesPaths': imagesPaths,
    };