UpcomingEvent.fromJson constructor
Implementation
factory UpcomingEvent.fromJson(Map<String, dynamic> json) {
return UpcomingEvent(json['id'], DateTime.parse(json['sent']),
json['recipientId'], json['number'], DateTime.parse(json['starting']));
}