locale property

String get locale

Implementation

String get locale {
  if (Intl.defaultLocale!.contains('TW')) {
    return 'zh-TW';
  } else {
    return 'en-US';
  }
}