ModelLocale constructor

const ModelLocale([
  1. Locale? value
])

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([Locale? value]) = _ModelLocale;