MessageContact.fromJson constructor

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

Parse from a json

Implementation

factory MessageContact.fromJson(Map<String, dynamic> json) => MessageContact(
  contact: Contact.fromJson(json['contact']),
);