label property

String get label

Implementation

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