hardware_button_setLocation method

String hardware_button_setLocation(
  1. Object type
)

{type, select, APIBRAIN{SET APIARY} HIVE_CONNECT{SET HIVE} other{SET LOCATION}}

Implementation

String hardware_button_setLocation(Object type) {
  return Intl.select(
    type,
    {
      'APIBRAIN': 'SET APIARY',
      'HIVE_CONNECT': 'SET HIVE',
      'other': 'SET LOCATION',
    },
    name: 'hardware_button_setLocation',
    desc: '',
    args: [type],
  );
}