Appointment.fromJson constructor

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

Implementation

factory Appointment.fromJson(Map<String, dynamic> json) {
  return Appointment(
    id: json['id'],
    start: json['start'],
    end: json['end'],
    startTimeSlot: json['startTimeSlot'],
    endTimeSlot: json['endTimeSlot'],
    subjects: json['subjects'],
    teachers: json['teachers'],
    groups: json['groups'],
    locations: json['locations'],
    type: json['type'],
    remark: json['remark'],
    valid: json['valid'],
    cancelled: json['cancelled'],
    modified: json['modified'],
    moved: json['moved'],
    isNew: json['isNew'],
    changeDescription: json['changeDescription'],
  );
}