label method

String label(
  1. NmTelecomL10n l10n
)

Label.

Implementation

String label(NmTelecomL10n l10n) => switch (this) {
  NmSemanticOutcome.reservePreparation => l10n.cmdSetOutcomeReservePreparation,
  NmSemanticOutcome.reserveReady => l10n.cmdSetOutcomeReserveReady,
  NmSemanticOutcome.workPreparation => l10n.cmdSetOutcomeWorkPreparation,
  NmSemanticOutcome.workReady => l10n.cmdSetOutcomeWorkReady,
  NmSemanticOutcome.workNeedsIncoming => l10n.cmdSetOutcomeWorkNeedsIncoming,
  NmSemanticOutcome.stopped => l10n.cmdSetOutcomeStopped,
  NmSemanticOutcome.lowBalance => l10n.cmdSetOutcomeLowBalance,
  NmSemanticOutcome.blocked => l10n.cmdSetOutcomeBlocked,
};