ModelLocale.fromCode constructor
Define a model Locale that stores the locale.
The base value is given as value. If not given, it is set as en_US
.
ロケールを保存するLocaleをモデルとして定義します。
ベースの値をvalueとして与えます。与えられなかった場合en_US
としてセットされます。
Implementation
const factory ModelLocale.fromCode(
String language, [
String? country,
]) = _ModelLocaleWithCode;