languageField constant

FieldDefinition<Language> const languageField

Field definition for language.

Implementation

static const languageField = FieldDefinition(
  name: 'language',
  getValue: _getLanguage,
  description: '''
The base language in which the resource is written.''',
  cardinality: Cardinality(
    min: 0,
    max: IntegerChoice(1),
  ),
  allowedStringValues: [
    'ar',
    'bg',
    'bg-BG',
    'bn',
    'cs',
    'cs-CZ',
    'bs',
    'bs-BA',
    'da',
    'da-DK',
    'de',
    'de-AT',
    'de-CH',
    'de-DE',
    'el',
    'el-GR',
    'en',
    'en-AU',
    'en-CA',
    'en-GB',
    'en-IN',
    'en-NZ',
    'en-SG',
    'en-US',
    'es',
    'es-AR',
    'es-ES',
    'es-UY',
    'et',
    'et-EE',
    'fi',
    'fr',
    'fr-BE',
    'fr-CH',
    'fr-FR',
    'fi-FI',
    'fr-CA',
    'fy',
    'fy-NL',
    'hi',
    'hr',
    'hr-HR',
    'is',
    'is-IS',
    'it',
    'it-CH',
    'it-IT',
    'ja',
    'ko',
    'lt',
    'lt-LT',
    'lv',
    'lv-LV',
    'nl',
    'nl-BE',
    'nl-NL',
    'no',
    'no-NO',
    'pa',
    'pl',
    'pl-PL',
    'pt',
    'pt-PT',
    'pt-BR',
    'ro',
    'ro-RO',
    'ru',
    'ru-RU',
    'sk',
    'sk-SK',
    'sl',
    'sl-SI',
    'sr',
    'sr-RS',
    'sv',
    'sv-SE',
    'te',
    'zh',
    'zh-CN',
    'zh-HK',
    'zh-SG',
    'zh-TW',
  ],
);