name property

String get name

Implementation

String get name {
  switch (this) {
    case Status.run:
      return 'RUN';
    case Status.stop:
      return 'STOP';
    default:
      return "NONE";
  }
}