FileMessageNode.fromJson constructor

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

Implementation

FileMessageNode.fromJson(Map<String, dynamic> json) : super(MessageElemTypeEnum.File) {
  if (json['filePath'] != null) this.filePath = json["filePath"];
  if (json['fileName'] != null) this.fileName = json["fileName"];
  if (json['uuid'] != null) this._uuid = json["uuid"];
  if (json['size'] != null) this._size = json["size"];
}