getUserReportUrl method

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

Implementation

Future<String> getUserReportUrl(String businessId, Report item) async {
  if (!isReady) {
    throw Exception(
        'Report manager is not ready for usage, call initialise before attempting to make this call');
  } else {
    return client.getReportUrlById(
      businessId,
      item.id,
      reportType: item.type,
    );
  }
}