import '../../marianumconnect_query.dart'; import 'absence_prefill_response.dart'; /// GETs the absence-report form prefill (`absence/prefill`, bearer-auth). /// Guardians pass the [childId] the report is for; the identity then comes /// from that child. class AbsencePrefill extends MarianumConnectQuery { AbsencePrefill({super.dio}); Future run({String? childId}) => getObject( 'absence/prefill', AbsencePrefillResponse.fromJson, queryParameters: {'childId': ?childId}, ); }