ChatModel constructor
ChatModel()
Implementation
ChatModel(
bool broadcast,
String? senderId,
String? sender,
String? type,
String? message,
String? currentTime,
bool? isReceived,
FileShareModel fileShareModel,fileName,jsonData
) {
_broadcast = broadcast;
_senderId = senderId;
_sender = sender;
_type = type;
_message = message;
_currentTime = currentTime;
_isRecieved = isReceived;
_fileShareModel=fileShareModel;
_fileName=fileName;
_jsonData=jsonData;
}