core.Map<core.String, core.dynamic> toJson() => { if (studentIds != null) 'studentIds': studentIds!, };