fetchReport method

Future<String> fetchReport({
  1. required String? patientId,
})

Generate the latest report url.

Implementation

Future<String> fetchReport({required String? patientId}) async {
  final url = await ApiService().generateReport(patientId!);
  return url;
}