fromJson method

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

Implementation

void fromJson(Map<String, dynamic> json) {
  id = json['id'];
  name = json['name'];
  from = json['from'];
  subject = MultiString.fromJson(json['subject']);
  text = MultiString.fromJson(json['text']);
  html = MultiString.fromJson(json['html']);
  status = json['status'];
}