MailUpdate.fromJson constructor

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

Implementation

factory MailUpdate.fromJson(Map<String, dynamic> json) {
  return MailUpdate(RecipientModel.fromJson(json['model']), json['userId'],
      json['originalRead']);
}