name property

String name

Implementation

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