pageTrace method

Future<Response> pageTrace({
  1. String? url,
  2. String? pageType,
  3. String? applicationId,
  4. String? userId,
  5. List<StatItem>? items,
  6. String? ver,
})
override

Implementation

Future<http.Response> pageTrace({
  String? url,
  String? pageType,
  String? applicationId,
  String? userId,
  List<StatItem>? items,
  String? ver,
}) async {
  if(ver == null) {
    PackageInfo packageInfo = await PackageInfo.fromPlatform();
    ver = packageInfo.version;
  }

  return BootpayAnalytics.pageTrace(
      url: url,
      pageType: pageType,
      userId: userId,
      items: items,
      applicationId: applicationId,
      ver: ver
  );
}