tone property

NmTone get tone

Pill tone of the status.

Implementation

NmTone get tone => switch (this) {
  NmStreamStatus.live => NmTone.success,
  NmStreamStatus.building => NmTone.brand,
  NmStreamStatus.hypothesis => NmTone.muted,
  NmStreamStatus.atRisk => NmTone.danger,
};