BatchCreateAttendeeResponse.fromJson constructor
BatchCreateAttendeeResponse.fromJson(
- Map<String, dynamic> json
)
Implementation
factory BatchCreateAttendeeResponse.fromJson(Map<String, dynamic> json) {
return BatchCreateAttendeeResponse(
attendees: (json['Attendees'] as List?)
?.whereNotNull()
.map((e) => Attendee.fromJson(e as Map<String, dynamic>))
.toList(),
errors: (json['Errors'] as List?)
?.whereNotNull()
.map((e) => CreateAttendeeError.fromJson(e as Map<String, dynamic>))
.toList(),
);
}