typeOfEvent property
String
get
typeOfEvent
Implementation
String get typeOfEvent {
String ret = "None";
switch (type) {
case Type.SCREENVIEW:
ret = 'SCREENVIEW';
break;
case Type.ITEM:
ret = 'ITEM';
break;
case Type.EVENT:
case Type.CONSENT:
ret = 'EVENT';
break;
case Type.TRANSACTION:
ret = 'TRANSACTION';
break;
default:
}
return ret;
}