MessageFile.fromJson constructor

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

Implementation

factory MessageFile.fromJson(Map<String, dynamic> json) {
  return MessageFile(
    id: json['id'],
    type: json['type'],
    url: json['url'],
    belongsTo: json['belongs_to'],
  );
}