Substitution.fromJson constructor

Substitution.fromJson(
  1. dynamic json
)

Implementation

Substitution.fromJson(dynamic json)
    : affectedClass = json['class'],
      lesson = json['lesson'],
      subTeacher = json['sub_teacher'],
      orgTeacher = json['org_teacher'],
      subject = json['subject'],
      notes = json['notes'],
      room = json['room'];