ILibCountry constructor

ILibCountry({
  1. Object? locale,
})

locale Set the locale

Implementation

ILibCountry({Object? locale}) {
  if (locale is String) {
    this.locale = locale;
  } else if (locale is ILibLocale) {
    this.locale = locale.toString();
  } else {
    this.locale = '';
  }
}