auth_text_unitSystem method

String auth_text_unitSystem(
  1. Object format
)

{format, select, metric{Metric} imperial{Imperial} other{invalid}}

Implementation

String auth_text_unitSystem(Object format) {
  return Intl.select(
    format,
    {
      'metric': 'Metric',
      'imperial': 'Imperial',
      'other': 'invalid',
    },
    name: 'auth_text_unitSystem',
    desc: '',
    args: [format],
  );
}