name property
String
get
name
Implementation
String get name {
switch (this) {
case CartEventType.add:
return "Add To Cart";
case CartEventType.remove:
return "Remove From Cart";
case CartEventType.replace:
return "Replace Cart";
default:
return "";
}
}