toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case NotificationType.command:
      return 'Command';
    case NotificationType.invocation:
      return 'Invocation';
  }
}