getAnalyticsData method

Future<String> getAnalyticsData()

Implementation

Future<String> getAnalyticsData() async {
  UserInfo.updateInfo();
  return "window.Bootpay.\$analytics.setAnalyticsData({uuid:'${await UserInfo.getBootpayUUID()}',sk:'${await UserInfo.getBootpaySK()}',sk_time:'${await UserInfo.getBootpayLastTime()}',time:'${DateTime.now().millisecondsSinceEpoch - await UserInfo.getBootpayLastTime()}'});";
}