name property

String name

Implementation

String get name {
  switch (this) {
    case Method.publish:
      return 'PUBLISH';
    case Method.request:
      return 'REQUEST';
    case Method.reply:
      return 'REPLY';
    case Method.add:
      return 'ADD';
    case Method.cancel:
      return 'CANCEL';
    case Method.refresh:
      return 'REFRESH';
    case Method.counter:
      return 'COUNTER';
    case Method.declineCounter:
      return 'DECLINECOUNTER';
  }
}