setAndTaggingScreenName method

void setAndTaggingScreenName()

This function will just perform operation for setting taggingScreen and depeding on the value of taggingScreen will either discard or perform FlutterUxcam.tagScreenName operation.

Implementation

void setAndTaggingScreenName() {
  taggingScreen = screenNames.isNotEmpty ? screenNames.last : '';
  if (taggingScreen.isNotEmpty) {
    FlutterUxcam.tagScreenName(taggingScreen);
  }
}