getUserReportById method

Future<Report> getUserReportById(
  1. String businessId,
  2. int id,
  3. String reportType
)

Implementation

Future<Report> getUserReportById(
  String businessId,
  int id,
  String reportType, //dashboard or report
) async {
  if (!isReady) {
    throw Exception(
        'Report manager is not ready for usage, call initialise before attempting to make this call');
  } else {
    return client.getReportById(
      businessId,
      id,
    );
  }
}