getUserReportUrl method

Future<String> getUserReportUrl(
  1. String businessId,
  2. Report item
)

Implementation

Future<String> getUserReportUrl(String businessId, Report item) async {
  if (!isReady) {
    throw LittlefishReportException(
      ReportErrorCodes.reportClientNotReady.code,
      ReportErrorCodes.reportClientNotReady.message,
    );
  } else {
    return client.getReportUrlById(
      businessId,
      item.id,
      reportType: item.type,
    );
  }
}