AgoraRtmImageMessage.fromJson constructor

AgoraRtmImageMessage.fromJson(
  1. Map json
)

Implementation

AgoraRtmImageMessage.fromJson(Map<dynamic, dynamic> json)
    : text = json['text'],
      ts = json['ts'],
      offline = json['offline'],
      size = json['size'],
      thumbnail = json['thumbnail'],
      fileName = json['fileName'],
      width = json['width'],
      height = json['height'],
      thumbnailWidth = json['thumbnailWidth'],
      thumbnailHeight = json['thumbnailHeight'];