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