getEventTypeAsString static method

String getEventTypeAsString(
  1. NclEventType type
)

Implementation

static String getEventTypeAsString(NclEventType type) {
  switch (type) {
    case NclEventType.presentation:
      return 'presentation';
    case NclEventType.attribution:
      return 'attribution';
    case NclEventType.selection:
      return 'selection';
    case NclEventType.preparation:
      return 'preparation';
  }
}