onAppScreenChange method

dynamic onAppScreenChange(
  1. String screenName
)

Implementation

onAppScreenChange(String screenName) {
  this.currentScreenName = screenName;
  FSEmotionPageView eventPage = FSEmotionPageView(this.currentScreenName);
  this.sendEmotionEvent(eventPage).whenComplete(() {
    Flagship.logger(
        Level.INFO, "Send pageview when Application change screen");
  });
}