label method

String label()

Implementation

String label() => switch (this) {
      Instrument.banjo => "Banjo",
      Instrument.guitar => "Guitar"
    };