trackScreen method

void trackScreen(
  1. String screen
)

Implementation

void trackScreen(String screen) async {
  Map<String, dynamic> response =
      await spotCheckState.sendTrackScreenRequest(screen);
  if (response["valid"]) {
    spotCheckState.start();
  } else {
    log("TrackScreen Failed");
  }
}