Contact.fromJson constructor
Implementation
factory Contact.fromJson(Map<String, dynamic> json) {
return Contact(
id: json['id'],
email: json['email'],
emailBlackListed: json['emailBlacklisted'],
smsBlackListed: json['smsBlacklisted'],
createdAt: DateTime.parse(json['createdAt']),
modifiedAt: DateTime.parse(json['modifiedAt']),
attributes: json['attributes'],
);
}