DoctorSection constructor

DoctorSection(
  1. String title, [
  2. List<DoctorCheck>? checks
])

Implementation

DoctorSection(this.title, [List<DoctorCheck>? checks]) : checks = (checks ?? <DoctorCheck>[]).toList();