V2TimRecvC2cTextMessage.fromJson constructor

V2TimRecvC2cTextMessage.fromJson(
  1. Map<String, dynamic> json
)

Implementation

V2TimRecvC2cTextMessage.fromJson(Map<String, dynamic> json) {
  msgID = json['msgID'];
  sender = V2TimUserInfo.fromJson(json['sender']);
  text = json['text'];
}