Sibling.fromJson constructor
Implementation
factory Sibling.fromJson(Map<String, dynamic> json) {
return Sibling(
json['id'],
json['userId'],
DateTime.parse(json['received']),
json['pending'],
json['fyi'],
json['escalated'],
json['estimate'],
json['replied'] != null ? DateTime.parse(json['replied']) : null,
json['action'],
json['role']);
}