getUserReportById method
Implementation
Future<Report> getUserReportById(
String businessId,
int id,
String reportType, //dashboard or report
) async {
if (!isReady) {
throw LittlefishReportException(
ReportErrorCodes.reportClientNotReady.code,
ReportErrorCodes.reportClientNotReady.message,
);
} else {
return client.getReportById(
businessId,
id,
);
}
}