value property

String get value

Implementation

String get value {
  switch (this) {
    case BootState.off:
      return 'OFF';
    case BootState.pending:
      return 'PENDING';
    case BootState.ok:
      return 'OK';
    case BootState.error:
      return 'ERROR';
  }
}