getLabel property

String get getLabel

Implementation

String get getLabel {
  switch (this) {
    case PrinterStatus.impressoraOk:
      return 'IMPRESSORA OK';
    case PrinterStatus.semPapel:
      return 'SEM PAPEL';
    case PrinterStatus.superAquecimento:
      return 'SUPER AQUECIMENTO';
    case PrinterStatus.erroDesconhecido:
      return 'ERRO DESCONHECIDO';
    case PrinterStatus.statusDesconhecido:
      return 'STATUS DESCONHECIDO';
    default:
      throw UnimplementedError("Not implemented.");
  }
}