UpcomingEvent.fromJson constructor

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

Implementation

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