ImageMessage.fromJson constructor
Creates a new instance of ImageMessage from a JSON map.
json
is the JSON map to create the instance from.
Implementation
factory ImageMessage.fromJson(Map<String, dynamic> json) {
return ImageMessage(
content: json['content'],
name: json['name'],
size: json['size'],
);
}