fromJson static method

dynamic fromJson(
  1. List data
)

Implementation

static fromJson(List<dynamic> data) {
  List<Attendee> attendees = List.empty(growable: true);
  data.forEach((element) {
    Attendee attendee = Attendee.fromJson(element);
    attendees.add(attendee);
  });
  return Attendees(attendees: attendees);
}