ChatMessageBody.fromJson constructor

ChatMessageBody.fromJson({
  1. required Map map,
  2. required MessageType type,
})

Implementation

ChatMessageBody.fromJson({
  required Map map,
  required this.type,
}) {
  _operatorTime = map["operatorTime"];
  _operatorId = map["operatorId"];
  _operatorCount = map["operatorCount"];
}