label property

String label

Implementation

String get label {
  return switch (this) {
    keyboard => 'Keyboard',
    directionalPad => 'Directional Pad',
    gamepad => 'Gamepad',
    joystick => 'Joystick',
    hdmi => 'HDMI',
  };
}