MessageContact.fromJson constructor

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

Parse from a json

Implementation

MessageContact.fromJson(Map<String, dynamic> json) {
  this.contact = Contact.fromJson(json['contact'] ?? <String, dynamic>{});
}