ImMessage.fromJson constructor

ImMessage.fromJson(
  1. dynamic json
)

Implementation

ImMessage.fromJson(dynamic json) {
  id = json['id'];
  uid = json['uid'];
  isSender = json['isSender'];
  senderAvatar = json['senderAvatar'];
  receiverAvatar = json['receiverAvatar'];
  messageContent = json['messageContent'];
  messageType = json['messageType'];
  messageStatus = json['messageStatus'];
  messageTime = json['messageTime'];
}