diff --git a/.github/dependabot.yaml b/.github/dependabot.yaml index 6f54efe4..e7e4a483 100644 --- a/.github/dependabot.yaml +++ b/.github/dependabot.yaml @@ -1,7 +1,6 @@ version: 2 -enable-beta-ecosystems: true updates: - # Maintain dependencies for GitHub Actions + # Maintain dependencies for GitHub Actions. - package-ecosystem: "github-actions" directory: "/" schedule: @@ -12,19 +11,12 @@ updates: prefix: "chore" include: "scope" - # Maintain dependencies for Dart + # Maintain dependencies for Dart. - package-ecosystem: "pub" versioning-strategy: increase directories: - - "/packages/tools/" - - "/packages/_sealed_world_tests/" - - "/packages/sealed_languages/" - - "/packages/sealed_currencies/" - - "/packages/sealed_countries/" - - "/packages/world_flags/" - - "/packages/world_flags/example/" - - "/packages/world_countries/" - - "/packages/world_countries/example/" + - packages/**/* + - tools schedule: interval: "weekly" reviewers: @@ -33,7 +25,7 @@ updates: prefix: "chore" include: "scope" - # Maintain dependencies for Android (example) + # Maintain dependencies for Android (examples). - package-ecosystem: "gradle" directories: - "/packages/world_countries/example/android/" diff --git a/.github/workflows/world_flags.yaml b/.github/workflows/world_flags.yaml index 603c44b2..189191ae 100644 --- a/.github/workflows/world_flags.yaml +++ b/.github/workflows/world_flags.yaml @@ -8,8 +8,8 @@ on: pull_request: branches: [main] paths: - - "packages/world_flags/**/*.dart" - ".github/workflows/world_flags.yaml" + - "packages/world_flags/**/*.dart" jobs: verify-world-flags: diff --git a/packages/_sealed_world_tests/lib/tests/advanced_tests.dart b/packages/_sealed_world_tests/lib/tests/advanced_tests.dart index 24f5e949..33f2003c 100644 --- a/packages/_sealed_world_tests/lib/tests/advanced_tests.dart +++ b/packages/_sealed_world_tests/lib/tests/advanced_tests.dart @@ -14,7 +14,6 @@ const _defaultRetryCount = 1; // For performance tests. @isTest void performanceTest( String description, - // ignore: avoid-dynamic, strict_raw_type, it's a copy of regular test method. FutureOr Function() body, { num durationLimit = _defaultDurationLimitInMs, String? testOn, @@ -41,7 +40,6 @@ void performanceTest( void randomElementTest( String description, Iterable iterable, - // ignore: avoid-dynamic, strict_raw_type, it's a copy of regular test method. FutureOr Function(T) body, { num durationLimit = _defaultDurationLimitInMs, String? testOn, @@ -74,7 +72,6 @@ void assertTest( String description, Object? Function() createInstance, { bool shouldThrow = true, - // ignore: avoid-dynamic, strict_raw_type, it's a copy of regular test method. FutureOr Function()? alsoExpect, String? testOn, Timeout? timeout, @@ -84,7 +81,7 @@ void assertTest( int? retry, }) => test( - "throws $AssertionError on $description", + description, () async { expect( createInstance, diff --git a/packages/_sealed_world_tests/lib/tools/memory_tools.dart b/packages/_sealed_world_tests/lib/tools/memory_tools.dart index 0aeabe16..d408c840 100644 --- a/packages/_sealed_world_tests/lib/tools/memory_tools.dart +++ b/packages/_sealed_world_tests/lib/tools/memory_tools.dart @@ -8,10 +8,11 @@ import "package:vm_service/vm_service_io.dart" show vmServiceConnectUri; class MemoryTools extends MemoryUsage { MemoryTools({super.externalUsage, super.heapCapacity, super.heapUsage}); - Future getMemoryUsage() async { + Future get memoryUsage async { final info = await Service.getInfo(); if (info.serverWebSocketUri == null) return null; final service = + // ignore: avoid-nullable-tostring, this is helper method. await vmServiceConnectUri(info.serverWebSocketUri.toString()); final virtualMachine = await service.getVM(); final isolateId = virtualMachine.isolates?.firstOrNull?.id; @@ -28,9 +29,9 @@ class MemoryTools extends MemoryUsage { } Future compareTo(MemoryTools? other) async { - final memNow = await getMemoryUsage(); + final memNow = await memoryUsage; - return memNow != null ? memNow - other : null; + return memNow == null ? null : memNow - other; } // Define a method to calculate the difference between two MemoryTools @@ -46,6 +47,7 @@ class MemoryTools extends MemoryUsage { bytes == null ? 0 : (bytes / (1024 * 1024)).roundToDouble(); @override - String toString() => - """Memory(externalUsage: ${toMB(externalUsage)} MB, heapCapacity: ${toMB(heapCapacity)} MB, heapUsage: ${toMB(heapUsage)} MB)"""; + String toString() => "Memory(externalUsage: ${toMB(externalUsage)} MB, " + "heapCapacity: ${toMB(heapCapacity)} MB, " + "heapUsage: ${toMB(heapUsage)} MB)"; } diff --git a/packages/_sealed_world_tests/pubspec.yaml b/packages/_sealed_world_tests/pubspec.yaml index d0ebd4ec..3ddde7d7 100644 --- a/packages/_sealed_world_tests/pubspec.yaml +++ b/packages/_sealed_world_tests/pubspec.yaml @@ -7,13 +7,14 @@ repository: https://github.com/tsinis/sealed_world/tree/main/packages/_sealed_wo issue_tracker: https://github.com/tsinis/sealed_world/issues environment: - sdk: ^3.0.0 + sdk: ^3.5.3 dependencies: - meta: ^1.12.0 # From Google - test: ^1.25.2 # From Google - vm_service: ^14.2.1 # From Google + meta: ^1.15.0 # Specific version for the flags package. From Google + test: ^1.25.7 # Specific version for the flags package. From Google + vm_service: ^14.2.5 # Specific version for the flags package. From Google dev_dependencies: - dart_code_linter: ^1.1.3 # Ex-DCM. - lints: ^4.0.0 # From Google + dart_code_linter: ^1.1.5 # Ex-DCM. + dart_code_metrics_presets: ^2.17.0 + lints: ^5.0.0 # From Google diff --git a/packages/analysis_options.yaml b/packages/analysis_options.yaml index 7c683878..8406979e 100644 --- a/packages/analysis_options.yaml +++ b/packages/analysis_options.yaml @@ -42,6 +42,8 @@ analyzer: - dart_code_metrics dart_code_metrics: + extends: + - package:dart_code_metrics_presets/all.yaml anti-patterns: - long-parameter-list: ignore-optional: true @@ -58,10 +60,56 @@ dart_code_metrics: metrics-exclude: - test/** rules: + # Disabled: + - arguments-ordering: false # This will be a breaking change. + - avoid-collection-equality-checks: false # Doesn't work for models exclude. + - avoid-collection-mutating-methods: false # Mostly false positives. + - avoid-duplicate-collection-elements: false # They are being used on purpose. + - avoid-ignoring-return-values: false # Mostly, collection methods are ignored. + - avoid-inferrable-type-arguments: false # Against prefer-explicit-type-arguments. + - avoid-long-files: false # A lot of data and collections. + - avoid-long-functions: false # Cannot get exclude to work with tests... + - avoid-nullable-interpolation: false # Doesn't work for toString() methods. + - avoid-unsafe-collection-methods: false # They are being used on purpose. + - enum-constants-ordering: false # This might be a breaking change. + - match-getter-setter-field-names: false # Most of those are just aliases. + - no-equal-arguments: false # Not our use-case here. + - no-magic-number: false # Packages contain a lot of numbers. + - no-magic-string: false # Packages contain a lot of strings. + - parameters-ordering: false # This will be a breaking change. + - prefer-boolean-prefixes: false # This will be a breaking change. + - prefer-correct-throws: false # No meta in Dart packages. + - prefer-explicit-parameter-names: false # This will be dev. defined. + - prefer-prefixed-global-constants: false # This will be a breaking change. + - prefer-single-declaration-per-file: false # Data is stored in one file. + - prefer-test-matchers: false # Introduces coupling in tests. + # Enabled: + - avoid-high-cyclomatic-complexity: + threshold: 40 + - prefer-named-parameters: + max-number: 3 - avoid-nested-conditional-expressions: - acceptable-level: 2 + acceptable-level: 2 - prefer-correct-identifier-length: - exceptions: ["i", "x", "y", "sb"] # i for index, x/y for math operations, sb for StringBuffer. + # i for index, x/y for math operations, sb for StringBuffer, io for IO, + # bc for BuildContext, a and b are convenient for sorting, e for the element, + # k for key, v for value. + exceptions: ["a", "b", "e", "i", "k", "v", "x", "y", "io", "bc", "sb"] + - avoid-long-parameter-list: + ignore-optional: true + - prefer-widget-private-members: + ignore-static: true + - avoid-type-casts: + exclude: + - "*_json.dart" + - prefer-typedefs-for-callbacks: + ignore-fields: true + ignore-parameters: true + ignore-type-arguments: false + ignore-return-types: false + - avoid-passing-self-as-argument: + exclude: + - test/** - avoid-top-level-members-in-tests: exclude: - test/data/*.dart @@ -72,9 +120,16 @@ dart_code_metrics: include-assertions: - verify - verifyZeroInteractions + - assertTest + - testPickerBody + - testPickerInDialog + - testPickerInSearch + - testPickerInModal - avoid-passing-async-when-sync-expected: exclude: - test/** + - avoid-returning-widgets: + allow-nullable: true - avoid-redundant-async: exclude: - test/** @@ -98,64 +153,32 @@ dart_code_metrics: exclude: - "**/data/**.data.dart" - "**/translations/**.l10n.dart" - - arguments-ordering: - child-last: true - - avoid-banned-imports: true - - avoid-cascade-after-if-null: true - - avoid-collection-methods-with-unrelated-types: true - - avoid-double-slash-imports: true - - avoid-duplicate-exports: true - - avoid-dynamic: true - - avoid-global-state: true - - avoid-missing-enum-constant-in-map: true - - avoid-non-null-assertion: true - - avoid-substring: true - - avoid-throw-in-catch-block: true - - avoid-unnecessary-conditionals: true - - avoid-unnecessary-type-assertions: true - - avoid-unnecessary-type-casts: true - - avoid-unrelated-type-assertions: true - - avoid-unused-parameters: true - - ban-name: true - - binary-expression-operand-order: true - - double-literal-format: true - - list-all-equatable-fields: true - - newline-before-return: true - - no-boolean-literal-compare: true - - no-empty-block: true - - no-equal-then-else: true - - no-object-declaration: true - - prefer-async-await: true - - prefer-commenting-analyzer-ignores: true - - prefer-conditional-expressions: true - - prefer-correct-test-file-name: true - - prefer-correct-type-name: true - - prefer-enums-by-name: true - - prefer-first: true - - prefer-immediate-return: true - - prefer-iterable-of: true - - prefer-last: true - - prefer-moving-to-variable: true - - prefer-trailing-comma: true - - tag-name: true linter: rules: # Disabled: + always_put_control_body_on_new_line: false # Makes code harder to read. + omit_local_variable_types: false # Conflicts with: prefer-type-over-var. always_specify_types: false # Conflicts with: omit_local_variable_types. always_use_package_imports: false # Conflicts with: prefer_relative_imports. avoid_classes_with_only_static_members: false # Conflicts with: prefer-static-class + avoid_equals_and_hash_code_on_mutable_classes: false # We have no access to meta here. + flutter_style_todos: false # Not a Flutter team. + # omit_obvious_local_variable_types: true # Conflicts with: specify_nonobvious_local_variable_types. #TODO! After Dart 3.6 is released. prefer_final_parameters: false # Conflicts with: avoid_final_parameters. prefer_single_quotes: false # Conflicts with: prefer_double_quotes. unnecessary_final: false # Conflicts with: prefer_final_locals. + unnecessary_library_name: false # To prevent breaking changes for those who use this libs. # Enabled: always_declare_return_types: true always_put_required_named_parameters_first: true always_require_non_null_named_parameters: true annotate_overrides: true + annotate_redeclares: true avoid_annotating_with_dynamic: true avoid_bool_literals_in_conditional_expressions: true + avoid_catches_without_on_clauses: true avoid_catching_errors: true avoid_double_and_int_checks: true avoid_dynamic_calls: true @@ -207,10 +230,10 @@ linter: depend_on_referenced_packages: true deprecated_consistency: true deprecated_member_use_from_same_package: true - diagnostic_describe_all_properties: true directives_ordering: true discarded_futures: true do_not_use_environment: true + document_ignores: true empty_catches: true empty_constructor_bodies: true empty_statements: true @@ -223,6 +246,7 @@ linter: implicit_call_tearoffs: true implicit_reopen: true invalid_case_patterns: true + invalid_runtime_check_with_js_interop_types: true join_return_with_assignment: true leading_newlines_in_multiline_strings: true library_annotations: true @@ -232,6 +256,7 @@ linter: lines_longer_than_80_chars: true literal_only_boolean_expressions: true matching_super_parameters: true + missing_code_block_language_in_doc_comment: true missing_whitespace_between_adjacent_strings: true no_adjacent_strings_in_list: true no_default_cases: true @@ -246,7 +271,6 @@ linter: noop_primitive_operations: true null_check_on_nullable_type_parameter: true null_closures: true - omit_local_variable_types: true one_member_abstracts: true only_throw_errors: true overridden_fields: true @@ -301,6 +325,7 @@ linter: sort_constructors_first: true sort_pub_dependencies: true sort_unnamed_constructors_first: true + # specify_nonobvious_local_variable_types: true #TODO! After Dart 3.6 is released. test_types_in_equals: true throw_in_finally: true tighten_type_of_initializing_formals: true @@ -308,6 +333,7 @@ linter: type_init_formals: true type_literal_in_constant_pattern: true unawaited_futures: true + unintended_html_in_doc_comment: true unnecessary_await_in_return: true unnecessary_brace_in_string_interps: true unnecessary_breaks: true @@ -348,5 +374,6 @@ linter: use_super_parameters: true use_test_throws_matchers: true use_to_and_as_if_applicable: true + # use_truncating_division: true #TODO! After Dart 3.6 is released. valid_regexps: true void_checks: true diff --git a/packages/flutter_analysis_options.yaml b/packages/flutter_analysis_options.yaml index c390d08e..6e6cb544 100644 --- a/packages/flutter_analysis_options.yaml +++ b/packages/flutter_analysis_options.yaml @@ -2,32 +2,24 @@ include: analysis_options.yaml dart_code_metrics: rules: - - always-remove-listener: true - - avoid-border-all: true - - avoid-expanded-as-spacer: true - - avoid-returning-widgets: true - - avoid-shrink-wrap-in-lists: true - - avoid-unnecessary-setstate: true - - avoid-wrapping-in-padding: true - - check-for-equals-in-render-object-setters: true - - consistent-update-render-object: true - - prefer-const-border-radius: true - - prefer-correct-edge-insets-constructor: true - - prefer-define-hero-tag: true - - prefer-extracting-callbacks: true - - prefer-intl-name: true - - prefer-single-widget-per-file: true - - prefer-using-list-view: true - - provide-correct-intl-args: true - - use-setstate-synchronously: true + # Disabled: + - avoid-duplicate-cascades: false # Conflicts with CustomPainters. + # Enabled: + - avoid-long-files: + exclude: + - lib/**/*_painter.dart + - avoid-similar-names: + similarity-threshold: 0.8 + ignored-names: + - path linter: rules: avoid_equals_and_hash_code_on_mutable_classes: true avoid_unnecessary_containers: true avoid_web_libraries_in_flutter: true + diagnostic_describe_all_properties: false # TODO? Enable and fix this in the far-future. no_logic_in_create_state: true - public_member_api_docs: true sized_box_for_whitespace: true sized_box_shrink_expand: true sort_child_properties_last: true @@ -36,6 +28,3 @@ linter: use_decorated_box: true use_full_hex_values_for_flutter_colors: true use_key_in_widget_constructors: true - - # TODO? Enable and fix this in the far-future. - diagnostic_describe_all_properties: false \ No newline at end of file diff --git a/packages/sealed_countries/README.md b/packages/sealed_countries/README.md index 84b921d7..08d38a3b 100644 --- a/packages/sealed_countries/README.md +++ b/packages/sealed_countries/README.md @@ -97,11 +97,12 @@ Use `WorldCountry` class to get information about countries. Either construct a ); print(europeanCountries); // Prints a list of European countries. - for (final country in WorldCountry.list) { - print( - """${country.internationalName} translated to Slovak language: ${country.translation(BasicLocale(LangSlk())).name}""", - ); -} + for (final cnt in WorldCountry.list) { + print( + "${cnt.internationalName} translated to Slovak language: " + "${cnt.translation(const BasicLocale(LangSlk())).name}", + ); + } ``` For more usage examples, please see the `/example` folder. diff --git a/packages/sealed_countries/example/lib/main.dart b/packages/sealed_countries/example/lib/main.dart index 647fbbab..39b6fb98 100644 --- a/packages/sealed_countries/example/lib/main.dart +++ b/packages/sealed_countries/example/lib/main.dart @@ -9,31 +9,30 @@ void main() { print(country.isMex); // Prints: true. final europeanCountries = WorldCountry.list.where( - (country) => country.continent is Europe, + (cnt) => cnt.continent is Europe, ); print(europeanCountries); // Prints a list of European countries. final europeanUnion = RegionalBloc.fromAcronym("EU"); final europeButNotEU = europeanCountries.where( - (country) => !(country.regionalBlocs?.contains(europeanUnion) ?? false), + (cnt) => !(cnt.regionalBlocs?.contains(europeanUnion) ?? false), ); print(europeButNotEU.length); // Prints 23 count of non-EU European countries. /// Prints all the countries in the world with their phone code. - for (final country in WorldCountry.list) { - print( - "${country.name.common} code: ${country.idd.phoneCode()}", - ); + for (final cnt in WorldCountry.list) { + print("${cnt.name.common} code: ${cnt.idd.phoneCode()}"); } - for (final country in WorldCountry.list) { + for (final cnt in WorldCountry.list) { print( - """${country.internationalName} translated to Slovak language: ${country.translation(const BasicLocale(LangSlk())).name}""", + "${cnt.internationalName} translated to Slovak language: " + "${cnt.translation(const BasicLocale(LangSlk())).name}", ); } - print(const _CountryCustom().name.common); // Prints "Custom". + print(const _CountryCustom().name.common); // Prints "Unknown". } /// Creates a instance of the custom country with permissive constructor. diff --git a/packages/sealed_countries/lib/src/collections/regional_bloc_collections.dart b/packages/sealed_countries/lib/src/collections/regional_bloc_collections.dart index 9ec45372..756616b6 100644 --- a/packages/sealed_countries/lib/src/collections/regional_bloc_collections.dart +++ b/packages/sealed_countries/lib/src/collections/regional_bloc_collections.dart @@ -1,5 +1,6 @@ // ignore_for_file: prefer-static-class, it's referenced as static in the model. -import "../../sealed_countries.dart"; +import "../data/regional_bloc/regional_bloc.data.dart"; +import "../model/regional_bloc/world_bloc.dart"; /// List of all standard [RegionalBloc] sorted by code. const regionalBlocList = [ diff --git a/packages/sealed_countries/lib/src/collections/world_country_collections.dart b/packages/sealed_countries/lib/src/collections/world_country_collections.dart index 4c07a3cd..7e312eda 100644 --- a/packages/sealed_countries/lib/src/collections/world_country_collections.dart +++ b/packages/sealed_countries/lib/src/collections/world_country_collections.dart @@ -1,4 +1,5 @@ // ignore_for_file: prefer-static-class, it's referenced as static in the model. +// ignore_for_file: map-keys-ordering, Kosovo should be at the end. import "../data/official_world_countries.data.dart"; import "../data/other_world_countries.data.dart"; import "../model/country/country.dart"; diff --git a/packages/sealed_countries/lib/src/data/official_world_countries.data.dart b/packages/sealed_countries/lib/src/data/official_world_countries.data.dart index 65533f0c..312f6ebe 100644 --- a/packages/sealed_countries/lib/src/data/official_world_countries.data.dart +++ b/packages/sealed_countries/lib/src/data/official_world_countries.data.dart @@ -2,10 +2,11 @@ // https://gitlab.com/restcountries/restcountries, which is // licensed under the Mozilla Public License Version 2.0. -// ignore_for_file: lines_longer_than_80_chars +// ignore_for_file: lines_longer_than_80_chars, alt-spellings are unpredictable. import "package:sealed_currencies/sealed_currencies.dart"; +// ignore: avoid-importing-entrypoint-exports, it contains all the translations. import "../../country_translations.dart"; import "../model/country/country.dart"; import "../model/country/submodels/capital.dart"; @@ -57,8 +58,6 @@ class CountryAbw extends WorldCountry { languages: const [LangNld()], translations: abwCountryTranslations, latLng: const LatLng(12.5, -69.96666666), - landlocked: false, - bordersCodes: null, areaMetric: 180, demonyms: const [ Demonyms(language: LangEng(), female: "Aruban", male: "Aruban"), @@ -70,18 +69,13 @@ class CountryAbw extends WorldCountry { openStreetMaps: "relation/1231749", ), population: 106766, - gini: null, fifa: "ARU", car: const Car(sign: "A"), timezones: const ["UTC-04:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Oranjestad"), latLng: LatLng(12.52, -70.03), ), - postalCode: null, - regionalBlocs: null, ); } @@ -114,8 +108,6 @@ class CountryAfg extends WorldCountry { codeNumeric: "004", codeShort: "AF", cioc: "AFG", - independent: true, - unMember: true, currencies: const [FiatAfn()], idd: const Idd(root: 9, suffixes: [3]), altSpellings: const ["AF", "Afġānistān"], @@ -137,17 +129,13 @@ class CountryAfg extends WorldCountry { openStreetMaps: "relation/303427", ), population: 40218234, - gini: null, fifa: "AFG", car: const Car(sign: "AFG"), timezones: const ["UTC+04:30"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Kabul"), latLng: LatLng(34.52, 69.18), ), - postalCode: null, regionalBlocs: const [BlocSAARC()], ); } @@ -176,8 +164,6 @@ class CountryAgo extends WorldCountry { codeNumeric: "024", codeShort: "AO", cioc: "ANG", - independent: true, - unMember: true, currencies: const [FiatAoa()], idd: const Idd(root: 2, suffixes: [44]), altSpellings: const [ @@ -190,7 +176,6 @@ class CountryAgo extends WorldCountry { languages: const [LangPor()], translations: agoCountryTranslations, latLng: const LatLng(-12.5, 18.5), - landlocked: false, bordersCodes: const ["Cog", "Cod", "Zmb", "Nam"], areaMetric: 1246700, demonyms: const [ @@ -211,13 +196,10 @@ class CountryAgo extends WorldCountry { fifa: "ANG", car: const Car(sign: "ANG"), timezones: const ["UTC+01:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Luanda"), latLng: LatLng(-8.83, 13.22), ), - postalCode: null, regionalBlocs: const [BlocAU()], ); } @@ -245,7 +227,6 @@ class CountryAia extends WorldCountry { code: "AIA", codeNumeric: "660", codeShort: "AI", - cioc: null, independent: false, unMember: false, currencies: const [FiatXcd()], @@ -256,8 +237,6 @@ class CountryAia extends WorldCountry { languages: const [LangEng()], translations: aiaCountryTranslations, latLng: const LatLng(18.25, -63.16666666), - landlocked: false, - bordersCodes: null, areaMetric: 91, demonyms: const [ Demonyms( @@ -277,18 +256,13 @@ class CountryAia extends WorldCountry { openStreetMaps: "relation/2177161", ), population: 13452, - gini: null, fifa: "AIA", car: const Car(sign: "GB", isRightSide: false), timezones: const ["UTC-04:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("The Valley"), latLng: LatLng(18.22, -63.05), ), - postalCode: null, - regionalBlocs: null, ); } @@ -315,7 +289,6 @@ class CountryAla extends WorldCountry { code: "ALA", codeNumeric: "248", codeShort: "AX", - cioc: null, independent: false, unMember: false, currencies: const [FiatEur()], @@ -326,15 +299,9 @@ class CountryAla extends WorldCountry { languages: const [LangSwe()], translations: alaCountryTranslations, latLng: const LatLng(60.116667, 19.9), - landlocked: false, - bordersCodes: null, areaMetric: 1580, demonyms: const [ - Demonyms( - language: LangEng(), - female: "Ålandish", - male: "Ålandish", - ), + Demonyms(language: LangEng(), female: "Ålandish", male: "Ålandish"), Demonyms( language: LangFra(), female: "Ålandaise", @@ -347,17 +314,12 @@ class CountryAla extends WorldCountry { openStreetMaps: "relation/1650407", ), population: 29458, - gini: null, - fifa: null, car: const Car(), timezones: const ["UTC+02:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Mariehamn"), latLng: LatLng(60.12, 19.9), ), - postalCode: null, regionalBlocs: const [BlocEU()], ); } @@ -386,8 +348,6 @@ class CountryAlb extends WorldCountry { codeNumeric: "008", codeShort: "AL", cioc: "ALB", - independent: true, - unMember: true, currencies: const [FiatAll()], idd: const Idd(root: 3, suffixes: [55]), altSpellings: const ["AL", "Shqipëri", "Shqipëria", "Shqipnia"], @@ -396,15 +356,10 @@ class CountryAlb extends WorldCountry { languages: const [LangSqi()], translations: albCountryTranslations, latLng: const LatLng(41, 20), - landlocked: false, bordersCodes: const ["Mne", "Grc", "Mkd", "Unk"], areaMetric: 28748, demonyms: const [ - Demonyms( - language: LangEng(), - female: "Albanian", - male: "Albanian", - ), + Demonyms(language: LangEng(), female: "Albanian", male: "Albanian"), Demonyms( language: LangFra(), female: "Albanaise", @@ -421,13 +376,10 @@ class CountryAlb extends WorldCountry { fifa: "ALB", car: const Car(sign: "AL"), timezones: const ["UTC+01:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Tirana"), latLng: LatLng(41.32, 19.82), ), - postalCode: null, regionalBlocs: const [BlocCEFTA()], ); } @@ -456,8 +408,6 @@ class CountryAnd extends WorldCountry { codeNumeric: "020", codeShort: "AD", cioc: "AND", - independent: true, - unMember: true, currencies: const [FiatEur()], idd: const Idd(root: 3, suffixes: [76]), altSpellings: const [ @@ -474,11 +424,7 @@ class CountryAnd extends WorldCountry { bordersCodes: const ["Fra", "Esp"], areaMetric: 468, demonyms: const [ - Demonyms( - language: LangEng(), - female: "Andorran", - male: "Andorran", - ), + Demonyms(language: LangEng(), female: "Andorran", male: "Andorran"), Demonyms( language: LangFra(), female: "Andorrane", @@ -491,12 +437,9 @@ class CountryAnd extends WorldCountry { openStreetMaps: "relation/9407", ), population: 77265, - gini: null, fifa: "AND", car: const Car(sign: "AND"), timezones: const ["UTC+01:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Andorra la Vella"), latLng: LatLng(42.5, 1.52), @@ -505,7 +448,6 @@ class CountryAnd extends WorldCountry { format: "AD###", regExpPattern: r"^(?:AD)*(\d{3})$", ), - regionalBlocs: null, ); } @@ -533,8 +475,6 @@ class CountryAre extends WorldCountry { codeNumeric: "784", codeShort: "AE", cioc: "UAE", - independent: true, - unMember: true, currencies: const [FiatAed()], idd: const Idd(root: 9, suffixes: [71]), altSpellings: const ["AE", "UAE", "Emirates"], @@ -543,16 +483,11 @@ class CountryAre extends WorldCountry { languages: const [LangAra()], translations: areCountryTranslations, latLng: const LatLng(24, 54), - landlocked: false, bordersCodes: const ["Omn", "Sau"], areaMetric: 83600, demonyms: const [ Demonyms(language: LangEng(), female: "Emirati", male: "Emirati"), - Demonyms( - language: LangFra(), - female: "Emirienne", - male: "Emirien", - ), + Demonyms(language: LangFra(), female: "Emirienne", male: "Emirien"), ], emoji: "🇦🇪", maps: const Maps( @@ -564,13 +499,11 @@ class CountryAre extends WorldCountry { fifa: "UAE", car: const Car(sign: "UAE"), timezones: const ["UTC+04:00"], - hasCoatOfArms: true, startOfWeek: Weekday.sunday, capitalInfo: const CapitalInfo( capital: Capital("Abu Dhabi"), latLng: LatLng(24.47, 54.37), ), - postalCode: null, regionalBlocs: const [BlocAL()], ); } @@ -604,8 +537,6 @@ class CountryArg extends WorldCountry { codeNumeric: "032", codeShort: "AR", cioc: "ARG", - independent: true, - unMember: true, currencies: const [FiatArs()], idd: const Idd(root: 5, suffixes: [4]), altSpellings: const [ @@ -618,7 +549,6 @@ class CountryArg extends WorldCountry { languages: const [LangGrn(), LangSpa()], translations: argCountryTranslations, latLng: const LatLng(-34, -64), - landlocked: false, bordersCodes: const ["Bol", "Bra", "Chl", "Pry", "Ury"], areaMetric: 2780400, demonyms: const [ @@ -643,8 +573,6 @@ class CountryArg extends WorldCountry { fifa: "ARG", car: const Car(sign: "RA"), timezones: const ["UTC-03:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Buenos Aires"), latLng: LatLng(-34.58, -58.67), @@ -681,8 +609,6 @@ class CountryArm extends WorldCountry { codeNumeric: "051", codeShort: "AM", cioc: "ARM", - independent: true, - unMember: true, currencies: const [FiatAmd()], idd: const Idd(root: 3, suffixes: [74]), altSpellings: const [ @@ -700,11 +626,7 @@ class CountryArm extends WorldCountry { bordersCodes: const ["Aze", "Geo", "Irn", "Tur"], areaMetric: 29743, demonyms: const [ - Demonyms( - language: LangEng(), - female: "Armenian", - male: "Armenian", - ), + Demonyms(language: LangEng(), female: "Armenian", male: "Armenian"), Demonyms( language: LangFra(), female: "Arménienne", @@ -721,8 +643,6 @@ class CountryArm extends WorldCountry { fifa: "ARM", car: const Car(sign: "AM"), timezones: const ["UTC+04:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Yerevan"), latLng: LatLng(40.17, 44.5), @@ -777,8 +697,6 @@ class CountryAsm extends WorldCountry { languages: const [LangEng(), LangSmo()], translations: asmCountryTranslations, latLng: const LatLng(-14.33333333, -170), - landlocked: false, - bordersCodes: null, areaMetric: 199, demonyms: const [ Demonyms( @@ -794,18 +712,14 @@ class CountryAsm extends WorldCountry { openStreetMaps: "relation/2177187", ), population: 55197, - gini: null, fifa: "ASA", car: const Car(sign: "USA"), timezones: const ["UTC-11:00"], hasCoatOfArms: false, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Pago Pago"), latLng: LatLng(-14.27, -170.7), ), - postalCode: null, - regionalBlocs: null, ); } @@ -832,19 +746,14 @@ class CountryAta extends WorldCountry { code: "ATA", codeNumeric: "010", codeShort: "AQ", - cioc: null, independent: false, unMember: false, - currencies: null, idd: const Idd(root: 6, suffixes: [72]), altSpellings: const ["AQ"], continent: const Antarctica(), - subregion: null, languages: const [LangEng()], translations: ataCountryTranslations, latLng: const LatLng(-90, 0), - landlocked: false, - bordersCodes: null, areaMetric: 14000000, demonyms: const [ Demonyms( @@ -864,8 +773,6 @@ class CountryAta extends WorldCountry { openStreetMaps: "node/36966060", ), population: 1000, - gini: null, - fifa: null, car: const Car(), timezones: const [ "UTC-03:00", @@ -877,11 +784,6 @@ class CountryAta extends WorldCountry { "UTC+10:00", "UTC+12:00", ], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, - capitalInfo: null, - postalCode: null, - regionalBlocs: null, ); } @@ -909,19 +811,15 @@ class CountryAtf extends WorldCountry { code: "ATF", codeNumeric: "260", codeShort: "TF", - cioc: null, independent: false, unMember: false, currencies: const [FiatEur()], idd: const Idd(root: 2, suffixes: [62]), altSpellings: const ["TF", "French Southern Territories"], continent: const Antarctica(), - subregion: null, languages: const [LangFra()], translations: atfCountryTranslations, latLng: const LatLng(-49.25, 69.167), - landlocked: false, - bordersCodes: null, areaMetric: 7747, demonyms: const [ Demonyms(language: LangEng(), female: "French", male: "French"), @@ -937,17 +835,12 @@ class CountryAtf extends WorldCountry { openStreetMaps: "relation/2186658", ), population: 400, - gini: null, - fifa: null, car: const Car(), timezones: const ["UTC+05:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Port-aux-Français"), latLng: LatLng(48.81, -1.4), ), - postalCode: null, regionalBlocs: const [BlocAU()], ); } @@ -976,8 +869,6 @@ class CountryAtg extends WorldCountry { codeNumeric: "028", codeShort: "AG", cioc: "ANT", - independent: true, - unMember: true, currencies: const [FiatXcd()], idd: const Idd(root: 1, suffixes: [268]), altSpellings: const ["AG"], @@ -986,8 +877,6 @@ class CountryAtg extends WorldCountry { languages: const [LangEng()], translations: atgCountryTranslations, latLng: const LatLng(17.05, -61.8), - landlocked: false, - bordersCodes: null, areaMetric: 442, demonyms: const [ Demonyms( @@ -1007,17 +896,13 @@ class CountryAtg extends WorldCountry { openStreetMaps: "relation/536900", ), population: 97928, - gini: null, fifa: "ATG", car: const Car(sign: "AG", isRightSide: false), timezones: const ["UTC-04:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Saint John's"), latLng: LatLng(17.12, -61.85), ), - postalCode: null, regionalBlocs: const [BlocCARICOM()], ); } @@ -1046,8 +931,6 @@ class CountryAus extends WorldCountry { codeNumeric: "036", codeShort: "AU", cioc: "AUS", - independent: true, - unMember: true, currencies: const [FiatAud()], idd: const Idd(root: 6, suffixes: [1]), altSpellings: const ["AU"], @@ -1056,8 +939,6 @@ class CountryAus extends WorldCountry { languages: const [LangEng()], translations: ausCountryTranslations, latLng: const LatLng(-27, 133), - landlocked: false, - bordersCodes: null, areaMetric: 7692024, demonyms: const [ Demonyms( @@ -1090,15 +971,12 @@ class CountryAus extends WorldCountry { "UTC+10:30", "UTC+11:30", ], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Canberra"), latLng: LatLng(-35.27, 149.13), ), postalCode: const PostalCode(format: "####", regExpPattern: r"^(\d{4})$"), - regionalBlocs: null, ); } @@ -1126,8 +1004,6 @@ class CountryAut extends WorldCountry { codeNumeric: "040", codeShort: "AT", cioc: "AUT", - independent: true, - unMember: true, currencies: const [FiatEur()], idd: const Idd(root: 4, suffixes: [3]), altSpellings: const ["AT", "Osterreich", "Oesterreich"], @@ -1149,11 +1025,7 @@ class CountryAut extends WorldCountry { ], areaMetric: 83871, demonyms: const [ - Demonyms( - language: LangEng(), - female: "Austrian", - male: "Austrian", - ), + Demonyms(language: LangEng(), female: "Austrian", male: "Austrian"), Demonyms( language: LangFra(), female: "Autrichienne", @@ -1170,8 +1042,6 @@ class CountryAut extends WorldCountry { fifa: "AUT", car: const Car(sign: "A"), timezones: const ["UTC+01:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Vienna"), latLng: LatLng(48.2, 16.37), @@ -1206,8 +1076,6 @@ class CountryAze extends WorldCountry { codeNumeric: "031", codeShort: "AZ", cioc: "AZE", - independent: true, - unMember: true, currencies: const [FiatAzn()], idd: const Idd(root: 9, suffixes: [94]), altSpellings: const [ @@ -1245,8 +1113,6 @@ class CountryAze extends WorldCountry { fifa: "AZE", car: const Car(sign: "AZ"), timezones: const ["UTC+04:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Baku"), latLng: LatLng(40.38, 49.87), @@ -1255,7 +1121,6 @@ class CountryAze extends WorldCountry { format: "AZ ####", regExpPattern: r"^(?:AZ)*(\d{4})$", ), - regionalBlocs: null, ); } @@ -1288,8 +1153,6 @@ class CountryBdi extends WorldCountry { codeNumeric: "108", codeShort: "BI", cioc: "BDI", - independent: true, - unMember: true, currencies: const [FiatBif()], idd: const Idd(root: 2, suffixes: [57]), altSpellings: const [ @@ -1328,13 +1191,10 @@ class CountryBdi extends WorldCountry { fifa: "BDI", car: const Car(sign: "RU"), timezones: const ["UTC+02:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Gitega"), latLng: LatLng(-3.43, 29.93), ), - postalCode: null, regionalBlocs: const [BlocAU()], ); } @@ -1373,8 +1233,6 @@ class CountryBel extends WorldCountry { codeNumeric: "056", codeShort: "BE", cioc: "BEL", - independent: true, - unMember: true, currencies: const [FiatEur()], idd: const Idd(root: 3, suffixes: [2]), altSpellings: const [ @@ -1393,7 +1251,6 @@ class CountryBel extends WorldCountry { languages: const [LangDeu(), LangFra(), LangNld()], translations: belCountryTranslations, latLng: const LatLng(50.83333333, 4), - landlocked: false, bordersCodes: const ["Fra", "Deu", "Lux", "Nld"], areaMetric: 30528, demonyms: const [ @@ -1410,8 +1267,6 @@ class CountryBel extends WorldCountry { fifa: "BEL", car: const Car(sign: "B"), timezones: const ["UTC+01:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Brussels"), latLng: LatLng(50.83, 4.33), @@ -1446,8 +1301,6 @@ class CountryBen extends WorldCountry { codeNumeric: "204", codeShort: "BJ", cioc: "BEN", - independent: true, - unMember: true, currencies: const [FiatXof()], idd: const Idd(root: 2, suffixes: [29]), altSpellings: const [ @@ -1460,15 +1313,10 @@ class CountryBen extends WorldCountry { languages: const [LangFra()], translations: benCountryTranslations, latLng: const LatLng(9.5, 2.25), - landlocked: false, bordersCodes: const ["Bfa", "Ner", "Nga", "Tgo"], areaMetric: 112622, demonyms: const [ - Demonyms( - language: LangEng(), - female: "Beninese", - male: "Beninese", - ), + Demonyms(language: LangEng(), female: "Beninese", male: "Beninese"), Demonyms( language: LangFra(), female: "Béninoise", @@ -1485,13 +1333,10 @@ class CountryBen extends WorldCountry { fifa: "BEN", car: const Car(sign: "DY"), timezones: const ["UTC+01:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Porto-Novo"), latLng: LatLng(6.48, 2.62), ), - postalCode: null, regionalBlocs: const [BlocAU()], ); } @@ -1519,7 +1364,6 @@ class CountryBes extends WorldCountry { code: "BES", codeNumeric: "535", codeShort: "BQ", - cioc: null, independent: false, unMember: false, currencies: const [FiatUsd()], @@ -1530,8 +1374,6 @@ class CountryBes extends WorldCountry { languages: const [LangEng(), LangNld()], translations: besCountryTranslations, latLng: const LatLng(12.18, -68.25), - landlocked: false, - bordersCodes: null, areaMetric: 328, demonyms: const [ Demonyms(language: LangEng(), female: "Dutch", male: "Dutch"), @@ -1547,18 +1389,12 @@ class CountryBes extends WorldCountry { openStreetMaps: "relation/1216720", ), population: 25987, - gini: null, - fifa: null, car: const Car(), timezones: const ["UTC-04:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Kralendijk"), latLng: LatLng(12.14, -68.27), ), - postalCode: null, - regionalBlocs: null, ); } @@ -1586,8 +1422,6 @@ class CountryBfa extends WorldCountry { codeNumeric: "854", codeShort: "BF", cioc: "BUR", - independent: true, - unMember: true, currencies: const [FiatXof()], idd: const Idd(root: 2, suffixes: [26]), altSpellings: const ["BF"], @@ -1621,13 +1455,10 @@ class CountryBfa extends WorldCountry { fifa: "BFA", car: const Car(sign: "BF"), timezones: const ["UTC+00:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Ouagadougou"), latLng: LatLng(12.37, -1.52), ), - postalCode: null, regionalBlocs: const [BlocAU()], ); } @@ -1656,8 +1487,6 @@ class CountryBgd extends WorldCountry { codeNumeric: "050", codeShort: "BD", cioc: "BAN", - independent: true, - unMember: true, currencies: const [FiatBdt()], idd: const Idd(root: 8, suffixes: [80]), altSpellings: const [ @@ -1670,7 +1499,6 @@ class CountryBgd extends WorldCountry { languages: const [LangBen()], translations: bgdCountryTranslations, latLng: const LatLng(24, 90), - landlocked: false, bordersCodes: const ["Mmr", "Ind"], areaMetric: 147570, demonyms: const [ @@ -1695,7 +1523,6 @@ class CountryBgd extends WorldCountry { fifa: "BAN", car: const Car(sign: "BD", isRightSide: false), timezones: const ["UTC+06:00"], - hasCoatOfArms: true, startOfWeek: Weekday.sunday, capitalInfo: const CapitalInfo( capital: Capital("Dhaka"), @@ -1731,8 +1558,6 @@ class CountryBgr extends WorldCountry { codeNumeric: "100", codeShort: "BG", cioc: "BUL", - independent: true, - unMember: true, currencies: const [FiatBgn()], idd: const Idd(root: 3, suffixes: [59]), altSpellings: const [ @@ -1745,7 +1570,6 @@ class CountryBgr extends WorldCountry { languages: const [LangBul()], translations: bgrCountryTranslations, latLng: const LatLng(43, 25), - landlocked: false, bordersCodes: const ["Grc", "Mkd", "Rou", "Srb", "Tur"], areaMetric: 110879, demonyms: const [ @@ -1766,8 +1590,6 @@ class CountryBgr extends WorldCountry { fifa: "BUL", car: const Car(sign: "BG"), timezones: const ["UTC+02:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Sofia"), latLng: LatLng(42.68, 23.32), @@ -1802,8 +1624,6 @@ class CountryBhr extends WorldCountry { codeNumeric: "048", codeShort: "BH", cioc: "BHR", - independent: true, - unMember: true, currencies: const [FiatBhd()], idd: const Idd(root: 9, suffixes: [73]), altSpellings: const [ @@ -1816,15 +1636,9 @@ class CountryBhr extends WorldCountry { languages: const [LangAra()], translations: bhrCountryTranslations, latLng: const LatLng(26, 50.55), - landlocked: false, - bordersCodes: null, areaMetric: 765, demonyms: const [ - Demonyms( - language: LangEng(), - female: "Bahraini", - male: "Bahraini", - ), + Demonyms(language: LangEng(), female: "Bahraini", male: "Bahraini"), Demonyms( language: LangFra(), female: "Bahreïnienne", @@ -1837,12 +1651,9 @@ class CountryBhr extends WorldCountry { openStreetMaps: "relation/378734", ), population: 1701583, - gini: null, fifa: "BHR", car: const Car(sign: "BRN"), timezones: const ["UTC+03:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Manama"), latLng: LatLng(26.23, 50.57), @@ -1879,8 +1690,6 @@ class CountryBhs extends WorldCountry { codeNumeric: "044", codeShort: "BS", cioc: "BAH", - independent: true, - unMember: true, currencies: const [FiatBsd(), FiatUsd()], idd: const Idd(root: 1, suffixes: [242]), altSpellings: const ["BS", "Commonwealth of the Bahamas"], @@ -1889,15 +1698,9 @@ class CountryBhs extends WorldCountry { languages: const [LangEng()], translations: bhsCountryTranslations, latLng: const LatLng(25.0343, -77.3963), - landlocked: false, - bordersCodes: null, areaMetric: 13943, demonyms: const [ - Demonyms( - language: LangEng(), - female: "Bahamian", - male: "Bahamian", - ), + Demonyms(language: LangEng(), female: "Bahamian", male: "Bahamian"), Demonyms( language: LangFra(), female: "Bahamienne", @@ -1910,17 +1713,13 @@ class CountryBhs extends WorldCountry { openStreetMaps: "relation/547469", ), population: 393248, - gini: null, fifa: "BAH", car: const Car(sign: "BS", isRightSide: false), timezones: const ["UTC-05:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Nassau"), latLng: LatLng(25.08, -77.35), ), - postalCode: null, regionalBlocs: const [BlocCARICOM()], ); } @@ -1959,8 +1758,6 @@ class CountryBih extends WorldCountry { codeNumeric: "070", codeShort: "BA", cioc: "BIH", - independent: true, - unMember: true, currencies: const [FiatBam()], idd: const Idd(root: 3, suffixes: [87]), altSpellings: const [ @@ -1973,7 +1770,6 @@ class CountryBih extends WorldCountry { languages: const [LangBos(), LangHrv(), LangSrp()], translations: bihCountryTranslations, latLng: const LatLng(44, 18), - landlocked: false, bordersCodes: const ["Hrv", "Mne", "Srb"], areaMetric: 51209, demonyms: const [ @@ -1982,11 +1778,7 @@ class CountryBih extends WorldCountry { female: "Bosnian, Herzegovinian", male: "Bosnian, Herzegovinian", ), - Demonyms( - language: LangFra(), - female: "Bosnienne", - male: "Bosnien", - ), + Demonyms(language: LangFra(), female: "Bosnienne", male: "Bosnien"), ], emoji: "🇧🇦", maps: const Maps( @@ -1999,8 +1791,6 @@ class CountryBih extends WorldCountry { fifa: "BIH", car: const Car(sign: "BIH"), timezones: const ["UTC+01:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Sarajevo"), latLng: LatLng(43.87, 18.42), @@ -2033,7 +1823,6 @@ class CountryBlm extends WorldCountry { code: "BLM", codeNumeric: "652", codeShort: "BL", - cioc: null, independent: false, unMember: false, currencies: const [FiatEur()], @@ -2049,8 +1838,6 @@ class CountryBlm extends WorldCountry { languages: const [LangFra()], translations: blmCountryTranslations, latLng: const LatLng(18.5, -63.41666666), - landlocked: false, - bordersCodes: null, areaMetric: 21, demonyms: const [ Demonyms( @@ -2070,18 +1857,14 @@ class CountryBlm extends WorldCountry { openStreetMaps: "relation/7552779", ), population: 4255, - gini: null, - fifa: null, car: const Car(sign: "F"), timezones: const ["UTC-04:00"], hasCoatOfArms: false, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Gustavia"), latLng: LatLng(17.88, -62.85), ), postalCode: const PostalCode(), - regionalBlocs: null, ); } @@ -2114,8 +1897,6 @@ class CountryBlr extends WorldCountry { codeNumeric: "112", codeShort: "BY", cioc: "BLR", - independent: true, - unMember: true, currencies: const [FiatByn()], idd: const Idd(root: 3, suffixes: [75]), altSpellings: const [ @@ -2155,8 +1936,6 @@ class CountryBlr extends WorldCountry { fifa: "BLR", car: const Car(sign: "BY"), timezones: const ["UTC+03:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Minsk"), latLng: LatLng(53.9, 27.57), @@ -2196,8 +1975,6 @@ class CountryBlz extends WorldCountry { codeNumeric: "084", codeShort: "BZ", cioc: "BIZ", - independent: true, - unMember: true, currencies: const [FiatBzd()], idd: const Idd(root: 50, suffixes: [1]), altSpellings: const ["BZ"], @@ -2206,15 +1983,10 @@ class CountryBlz extends WorldCountry { languages: const [LangEng(), LangSpa()], translations: blzCountryTranslations, latLng: const LatLng(17.25, -88.75), - landlocked: false, bordersCodes: const ["Gtm", "Mex"], areaMetric: 22966, demonyms: const [ - Demonyms( - language: LangEng(), - female: "Belizean", - male: "Belizean", - ), + Demonyms(language: LangEng(), female: "Belizean", male: "Belizean"), Demonyms( language: LangFra(), female: "Bélizienne", @@ -2231,13 +2003,10 @@ class CountryBlz extends WorldCountry { fifa: "BLZ", car: const Car(sign: "BH"), timezones: const ["UTC-06:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Belmopan"), latLng: LatLng(17.25, -88.77), ), - postalCode: null, regionalBlocs: const [BlocCARICOM(), BlocCAIS()], ); } @@ -2281,8 +2050,6 @@ class CountryBmu extends WorldCountry { languages: const [LangEng()], translations: bmuCountryTranslations, latLng: const LatLng(32.33333333, -64.75), - landlocked: false, - bordersCodes: null, areaMetric: 54, demonyms: const [ Demonyms( @@ -2302,12 +2069,9 @@ class CountryBmu extends WorldCountry { openStreetMaps: "relation/1993208", ), population: 63903, - gini: null, fifa: "BER", car: const Car(sign: "GB", isRightSide: false), timezones: const ["UTC-04:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Hamilton"), latLng: LatLng(32.28, -64.78), @@ -2316,7 +2080,6 @@ class CountryBmu extends WorldCountry { format: "@@ ##", regExpPattern: r"^([A-Z]{2}\d{2})$", ), - regionalBlocs: null, ); } @@ -2359,8 +2122,6 @@ class CountryBol extends WorldCountry { codeNumeric: "068", codeShort: "BO", cioc: "BOL", - independent: true, - unMember: true, currencies: const [FiatBob()], idd: const Idd(root: 5, suffixes: [91]), altSpellings: const [ @@ -2383,11 +2144,7 @@ class CountryBol extends WorldCountry { bordersCodes: const ["Arg", "Bra", "Chl", "Pry", "Per"], areaMetric: 1098581, demonyms: const [ - Demonyms( - language: LangEng(), - female: "Bolivian", - male: "Bolivian", - ), + Demonyms(language: LangEng(), female: "Bolivian", male: "Bolivian"), Demonyms( language: LangFra(), female: "Bolivienne", @@ -2404,13 +2161,10 @@ class CountryBol extends WorldCountry { fifa: "BOL", car: const Car(sign: "BOL"), timezones: const ["UTC-04:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Sucre"), latLng: LatLng(-19.02, -65.26), ), - postalCode: null, regionalBlocs: const [BlocUSAN()], ); } @@ -2439,8 +2193,6 @@ class CountryBra extends WorldCountry { codeNumeric: "076", codeShort: "BR", cioc: "BRA", - independent: true, - unMember: true, currencies: const [FiatBrl()], idd: const Idd(root: 5, suffixes: [5]), altSpellings: const [ @@ -2454,7 +2206,6 @@ class CountryBra extends WorldCountry { languages: const [LangPor()], translations: braCountryTranslations, latLng: const LatLng(-10, -55), - landlocked: false, bordersCodes: const [ "Arg", "Bol", @@ -2489,14 +2240,7 @@ class CountryBra extends WorldCountry { gini: const Gini(year: 2019, coefficient: 53.4), fifa: "BRA", car: const Car(sign: "BR"), - timezones: const [ - "UTC-05:00", - "UTC-04:00", - "UTC-03:00", - "UTC-02:00", - ], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, + timezones: const ["UTC-05:00", "UTC-04:00", "UTC-03:00", "UTC-02:00"], capitalInfo: const CapitalInfo( capital: Capital("Brasília"), latLng: LatLng(-15.79, -47.88), @@ -2533,8 +2277,6 @@ class CountryBrb extends WorldCountry { codeNumeric: "052", codeShort: "BB", cioc: "BAR", - independent: true, - unMember: true, currencies: const [FiatBbd()], idd: const Idd(root: 1, suffixes: [246]), altSpellings: const ["BB"], @@ -2543,8 +2285,6 @@ class CountryBrb extends WorldCountry { languages: const [LangEng()], translations: brbCountryTranslations, latLng: const LatLng(13.16666666, -59.53333333), - landlocked: false, - bordersCodes: null, areaMetric: 430, demonyms: const [ Demonyms( @@ -2564,12 +2304,9 @@ class CountryBrb extends WorldCountry { openStreetMaps: "relation/547511", ), population: 287371, - gini: null, fifa: "BRB", car: const Car(sign: "BDS", isRightSide: false), timezones: const ["UTC-04:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Bridgetown"), latLng: LatLng(13.1, -59.62), @@ -2606,8 +2343,6 @@ class CountryBrn extends WorldCountry { codeNumeric: "096", codeShort: "BN", cioc: "BRU", - independent: true, - unMember: true, currencies: const [FiatBnd(), FiatSgd()], idd: const Idd(root: 6, suffixes: [73]), altSpellings: const [ @@ -2621,15 +2356,10 @@ class CountryBrn extends WorldCountry { languages: const [LangMsa()], translations: brnCountryTranslations, latLng: const LatLng(4.5, 114.66666666), - landlocked: false, bordersCodes: const ["Mys"], areaMetric: 5765, demonyms: const [ - Demonyms( - language: LangEng(), - female: "Bruneian", - male: "Bruneian", - ), + Demonyms(language: LangEng(), female: "Bruneian", male: "Bruneian"), Demonyms( language: LangFra(), female: "Brunéienne", @@ -2642,12 +2372,9 @@ class CountryBrn extends WorldCountry { openStreetMaps: "relation/2103120", ), population: 437483, - gini: null, fifa: "BRU", car: const Car(sign: "BRU", isRightSide: false), timezones: const ["UTC+08:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Bandar Seri Begawan"), latLng: LatLng(4.88, 114.93), @@ -2684,8 +2411,6 @@ class CountryBtn extends WorldCountry { codeNumeric: "064", codeShort: "BT", cioc: "BHU", - independent: true, - unMember: true, currencies: const [FiatBtn(), FiatInr()], idd: const Idd(root: 9, suffixes: [75]), altSpellings: const ["BT", "Kingdom of Bhutan"], @@ -2719,13 +2444,10 @@ class CountryBtn extends WorldCountry { fifa: "BHU", car: const Car(sign: "BHT", isRightSide: false), timezones: const ["UTC+06:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Thimphu"), latLng: LatLng(27.47, 89.63), ), - postalCode: null, regionalBlocs: const [BlocSAARC()], ); } @@ -2753,19 +2475,14 @@ class CountryBvt extends WorldCountry { code: "BVT", codeNumeric: "074", codeShort: "BV", - cioc: null, independent: false, unMember: false, - currencies: null, idd: const Idd(root: 4, suffixes: [7]), altSpellings: const ["BV", "Bouvetøya", "Bouvet-øya"], continent: const Antarctica(), - subregion: null, languages: const [LangNor()], translations: bvtCountryTranslations, latLng: const LatLng(54.4208, 3.3464), - landlocked: false, - bordersCodes: null, areaMetric: 49, demonyms: const [ Demonyms( @@ -2780,15 +2497,9 @@ class CountryBvt extends WorldCountry { openStreetMaps: "way/174996681", ), population: 0, - gini: null, - fifa: null, car: const Car(), timezones: const ["UTC+01:00"], hasCoatOfArms: false, - startOfWeek: Weekday.monday, - capitalInfo: null, - postalCode: null, - regionalBlocs: null, ); } @@ -2821,8 +2532,6 @@ class CountryBwa extends WorldCountry { codeNumeric: "072", codeShort: "BW", cioc: "BOT", - independent: true, - unMember: true, currencies: const [FiatBwp()], idd: const Idd(root: 2, suffixes: [67]), altSpellings: const [ @@ -2839,11 +2548,7 @@ class CountryBwa extends WorldCountry { bordersCodes: const ["Nam", "Zaf", "Zmb", "Zwe"], areaMetric: 582000, demonyms: const [ - Demonyms( - language: LangEng(), - female: "Motswana", - male: "Motswana", - ), + Demonyms(language: LangEng(), female: "Motswana", male: "Motswana"), Demonyms( language: LangFra(), female: "Botswanaise", @@ -2860,13 +2565,10 @@ class CountryBwa extends WorldCountry { fifa: "BOT", car: const Car(sign: "BW", isRightSide: false), timezones: const ["UTC+02:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Gaborone"), latLng: LatLng(-24.63, 25.9), ), - postalCode: null, regionalBlocs: const [BlocAU()], ); } @@ -2900,8 +2602,6 @@ class CountryCaf extends WorldCountry { codeNumeric: "140", codeShort: "CF", cioc: "CAF", - independent: true, - unMember: true, currencies: const [FiatXaf()], idd: const Idd(root: 2, suffixes: [36]), altSpellings: const [ @@ -2939,13 +2639,10 @@ class CountryCaf extends WorldCountry { fifa: "CTA", car: const Car(sign: "RCA"), timezones: const ["UTC+01:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Bangui"), latLng: LatLng(4.37, 18.58), ), - postalCode: null, regionalBlocs: const [BlocAU()], ); } @@ -2979,8 +2676,6 @@ class CountryCan extends WorldCountry { codeNumeric: "124", codeShort: "CA", cioc: "CAN", - independent: true, - unMember: true, currencies: const [FiatCad()], idd: const Idd( root: 1, @@ -3026,15 +2721,10 @@ class CountryCan extends WorldCountry { languages: const [LangEng(), LangFra()], translations: canCountryTranslations, latLng: const LatLng(60, -95), - landlocked: false, bordersCodes: const ["Usa"], areaMetric: 9984670, demonyms: const [ - Demonyms( - language: LangEng(), - female: "Canadian", - male: "Canadian", - ), + Demonyms(language: LangEng(), female: "Canadian", male: "Canadian"), Demonyms( language: LangFra(), female: "Canadienne", @@ -3058,7 +2748,6 @@ class CountryCan extends WorldCountry { "UTC-04:00", "UTC-03:30", ], - hasCoatOfArms: true, startOfWeek: Weekday.sunday, capitalInfo: const CapitalInfo( capital: Capital("Ottawa"), @@ -3096,7 +2785,6 @@ class CountryCck extends WorldCountry { code: "CCK", codeNumeric: "166", codeShort: "CC", - cioc: null, independent: false, unMember: false, currencies: const [FiatAud()], @@ -3107,8 +2795,6 @@ class CountryCck extends WorldCountry { languages: const [LangEng()], translations: cckCountryTranslations, latLng: const LatLng(12.1642, 96.871), - landlocked: false, - bordersCodes: null, areaMetric: 14, demonyms: const [ Demonyms( @@ -3123,18 +2809,13 @@ class CountryCck extends WorldCountry { openStreetMaps: "relation/82636", ), population: 544, - gini: null, - fifa: null, car: const Car(sign: "AUS", isRightSide: false), timezones: const ["UTC+06:30"], hasCoatOfArms: false, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("West Island"), latLng: LatLng(-12.17, 96.83), ), - postalCode: null, - regionalBlocs: null, ); } @@ -3177,8 +2858,6 @@ class CountryChe extends WorldCountry { codeNumeric: "756", codeShort: "CH", cioc: "SUI", - independent: true, - unMember: true, currencies: const [FiatChf()], idd: const Idd(root: 4, suffixes: [1]), altSpellings: const [ @@ -3211,8 +2890,6 @@ class CountryChe extends WorldCountry { fifa: "SUI", car: const Car(sign: "CH"), timezones: const ["UTC+01:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Bern"), latLng: LatLng(46.92, 7.47), @@ -3247,30 +2924,19 @@ class CountryChl extends WorldCountry { codeNumeric: "152", codeShort: "CL", cioc: "CHI", - independent: true, - unMember: true, currencies: const [FiatClp()], idd: const Idd(root: 5, suffixes: [6]), - altSpellings: const [ - "CL", - "Republic of Chile", - "República de Chile", - ], + altSpellings: const ["CL", "Republic of Chile", "República de Chile"], continent: const Americas(), subregion: const SouthAmerica(), languages: const [LangSpa()], translations: chlCountryTranslations, latLng: const LatLng(-30, -71), - landlocked: false, bordersCodes: const ["Arg", "Bol", "Per"], areaMetric: 756102, demonyms: const [ Demonyms(language: LangEng(), female: "Chilean", male: "Chilean"), - Demonyms( - language: LangFra(), - female: "Chilienne", - male: "Chilien", - ), + Demonyms(language: LangFra(), female: "Chilienne", male: "Chilien"), ], emoji: "🇨🇱", maps: const Maps( @@ -3282,16 +2948,12 @@ class CountryChl extends WorldCountry { fifa: "CHI", car: const Car(sign: "RCH"), timezones: const ["UTC-06:00", "UTC-04:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Santiago"), latLng: LatLng(-33.45, -70.67), ), - postalCode: const PostalCode( - format: "#######", - regExpPattern: r"^(\d{7})$", - ), + postalCode: + const PostalCode(format: "#######", regExpPattern: r"^(\d{7})$"), regionalBlocs: const [BlocPA(), BlocUSAN()], ); } @@ -3309,19 +2971,13 @@ class CountryChn extends WorldCountry { common: "China", ), namesNative: const [ - CountryName( - language: LangZho(), - official: "中华人民共和国", - common: "中国", - ), + CountryName(language: LangZho(), official: "中华人民共和国", common: "中国"), ], tld: const [".cn", ".中国", ".中國", ".公司", ".网络"], code: "CHN", codeNumeric: "156", codeShort: "CN", cioc: "CHN", - independent: true, - unMember: true, currencies: const [FiatCny()], idd: const Idd(root: 8, suffixes: [6]), altSpellings: const [ @@ -3338,7 +2994,6 @@ class CountryChn extends WorldCountry { languages: const [LangZho()], translations: chnCountryTranslations, latLng: const LatLng(35, 105), - landlocked: false, bordersCodes: const [ "Afg", "Btn", @@ -3372,15 +3027,12 @@ class CountryChn extends WorldCountry { fifa: "CHN", car: const Car(sign: "RC"), timezones: const ["UTC+08:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Beijing"), latLng: LatLng(39.92, 116.38), ), postalCode: const PostalCode(format: "######", regExpPattern: r"^(\d{6})$"), - regionalBlocs: null, ); } @@ -3408,8 +3060,6 @@ class CountryCiv extends WorldCountry { codeNumeric: "384", codeShort: "CI", cioc: "CIV", - independent: true, - unMember: true, currencies: const [FiatXof()], idd: const Idd(root: 2, suffixes: [25]), altSpellings: const [ @@ -3424,7 +3074,6 @@ class CountryCiv extends WorldCountry { languages: const [LangFra()], translations: civCountryTranslations, latLng: const LatLng(8, -5), - landlocked: false, bordersCodes: const ["Bfa", "Gha", "Gin", "Lbr", "Mli"], areaMetric: 322463, demonyms: const [ @@ -3445,13 +3094,10 @@ class CountryCiv extends WorldCountry { fifa: "CIV", car: const Car(sign: "CI"), timezones: const ["UTC+00:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Yamoussoukro"), latLng: LatLng(6.82, -5.27), ), - postalCode: null, regionalBlocs: const [BlocAU()], ); } @@ -3485,8 +3131,6 @@ class CountryCmr extends WorldCountry { codeNumeric: "120", codeShort: "CM", cioc: "CMR", - independent: true, - unMember: true, currencies: const [FiatXaf()], idd: const Idd(root: 2, suffixes: [37]), altSpellings: const [ @@ -3499,7 +3143,6 @@ class CountryCmr extends WorldCountry { languages: const [LangEng(), LangFra()], translations: cmrCountryTranslations, latLng: const LatLng(6, 12), - landlocked: false, bordersCodes: const ["Caf", "Tcd", "Cog", "Gnq", "Gab", "Nga"], areaMetric: 475442, demonyms: const [ @@ -3524,13 +3167,10 @@ class CountryCmr extends WorldCountry { fifa: "CMR", car: const Car(sign: "CAM"), timezones: const ["UTC+01:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Yaoundé"), latLng: LatLng(3.85, 11.5), ), - postalCode: null, regionalBlocs: const [BlocAU()], ); } @@ -3574,8 +3214,6 @@ class CountryCod extends WorldCountry { codeNumeric: "180", codeShort: "CD", cioc: "COD", - independent: true, - unMember: true, currencies: const [FiatCdf()], idd: const Idd(root: 2, suffixes: [43]), altSpellings: const [ @@ -3590,7 +3228,6 @@ class CountryCod extends WorldCountry { languages: const [LangFra(), LangKon(), LangLin(), LangSwa()], translations: codCountryTranslations, latLng: const LatLng(0, 25), - landlocked: false, bordersCodes: const [ "Ago", "Bdi", @@ -3625,13 +3262,10 @@ class CountryCod extends WorldCountry { fifa: "COD", car: const Car(sign: "CGO"), timezones: const ["UTC+01:00", "UTC+02:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Kinshasa"), latLng: LatLng(-4.32, 15.3), ), - postalCode: null, regionalBlocs: const [BlocAU()], ); } @@ -3670,8 +3304,6 @@ class CountryCog extends WorldCountry { codeNumeric: "178", codeShort: "CG", cioc: "CGO", - independent: true, - unMember: true, currencies: const [FiatXaf()], idd: const Idd(root: 2, suffixes: [42]), altSpellings: const ["CG", "Congo", "Congo-Brazzaville"], @@ -3680,7 +3312,6 @@ class CountryCog extends WorldCountry { languages: const [LangFra(), LangKon(), LangLin()], translations: cogCountryTranslations, latLng: const LatLng(-1, 15), - landlocked: false, bordersCodes: const ["Ago", "Cmr", "Caf", "Cod", "Gab"], areaMetric: 342000, demonyms: const [ @@ -3706,12 +3337,10 @@ class CountryCog extends WorldCountry { car: const Car(sign: "RCB"), timezones: const ["UTC+01:00"], hasCoatOfArms: false, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Brazzaville"), latLng: LatLng(-4.25, 15.28), ), - postalCode: null, regionalBlocs: const [BlocAU()], ); } @@ -3750,8 +3379,6 @@ class CountryCok extends WorldCountry { languages: const [LangEng()], translations: cokCountryTranslations, latLng: const LatLng(-21.23333333, -159.76666666), - landlocked: false, - bordersCodes: null, areaMetric: 236, demonyms: const [ Demonyms( @@ -3759,11 +3386,7 @@ class CountryCok extends WorldCountry { female: "Cook Islander", male: "Cook Islander", ), - Demonyms( - language: LangFra(), - female: "Cookienne", - male: "Cookien", - ), + Demonyms(language: LangFra(), female: "Cookienne", male: "Cookien"), ], emoji: "🇨🇰", maps: const Maps( @@ -3771,18 +3394,13 @@ class CountryCok extends WorldCountry { openStreetMaps: "relation/2184233", ), population: 18100, - gini: null, fifa: "COK", car: const Car(sign: "NZ", isRightSide: false), timezones: const ["UTC-10:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Avarua"), latLng: LatLng(-21.2, -159.77), ), - postalCode: null, - regionalBlocs: null, ); } @@ -3810,8 +3428,6 @@ class CountryCol extends WorldCountry { codeNumeric: "170", codeShort: "CO", cioc: "COL", - independent: true, - unMember: true, currencies: const [FiatCop()], idd: const Idd(root: 5, suffixes: [7]), altSpellings: const [ @@ -3824,7 +3440,6 @@ class CountryCol extends WorldCountry { languages: const [LangSpa()], translations: colCountryTranslations, latLng: const LatLng(4, -72), - landlocked: false, bordersCodes: const ["Bra", "Ecu", "Pan", "Per", "Ven"], areaMetric: 1141748, demonyms: const [ @@ -3849,13 +3464,10 @@ class CountryCol extends WorldCountry { fifa: "COL", car: const Car(sign: "CO"), timezones: const ["UTC-05:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Bogotá"), latLng: LatLng(4.71, -74.07), ), - postalCode: null, regionalBlocs: const [BlocPA(), BlocUSAN()], ); } @@ -3889,8 +3501,6 @@ class CountryCom extends WorldCountry { codeNumeric: "174", codeShort: "KM", cioc: "COM", - independent: true, - unMember: true, currencies: const [FiatKmf()], idd: const Idd(root: 2, suffixes: [69]), altSpellings: const [ @@ -3905,8 +3515,6 @@ class CountryCom extends WorldCountry { languages: const [LangAra(), LangFra()], translations: comCountryTranslations, latLng: const LatLng(-12.16666666, 44.25), - landlocked: false, - bordersCodes: null, areaMetric: 1862, demonyms: const [ Demonyms(language: LangEng(), female: "Comoran", male: "Comoran"), @@ -3926,13 +3534,10 @@ class CountryCom extends WorldCountry { fifa: "COM", car: const Car(sign: "COM"), timezones: const ["UTC+03:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Moroni"), latLng: LatLng(-11.7, 43.23), ), - postalCode: null, regionalBlocs: const [BlocAU(), BlocAL()], ); } @@ -3961,8 +3566,6 @@ class CountryCpv extends WorldCountry { codeNumeric: "132", codeShort: "CV", cioc: "CPV", - independent: true, - unMember: true, currencies: const [FiatCve()], idd: const Idd(root: 2, suffixes: [38]), altSpellings: const [ @@ -3975,8 +3578,6 @@ class CountryCpv extends WorldCountry { languages: const [LangPor()], translations: cpvCountryTranslations, latLng: const LatLng(16.5388, -23.0418), - landlocked: false, - bordersCodes: null, areaMetric: 4033, demonyms: const [ Demonyms( @@ -4000,8 +3601,6 @@ class CountryCpv extends WorldCountry { fifa: "CPV", car: const Car(sign: "CV"), timezones: const ["UTC-01:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Praia"), latLng: LatLng(14.92, -23.52), @@ -4036,8 +3635,6 @@ class CountryCri extends WorldCountry { codeNumeric: "188", codeShort: "CR", cioc: "CRC", - independent: true, - unMember: true, currencies: const [FiatCrc()], idd: const Idd(root: 50, suffixes: [6]), altSpellings: const [ @@ -4050,7 +3647,6 @@ class CountryCri extends WorldCountry { languages: const [LangSpa()], translations: criCountryTranslations, latLng: const LatLng(10, -84), - landlocked: false, bordersCodes: const ["Nic", "Pan"], areaMetric: 51100, demonyms: const [ @@ -4075,8 +3671,6 @@ class CountryCri extends WorldCountry { fifa: "CRC", car: const Car(sign: "CR"), timezones: const ["UTC-06:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("San José"), latLng: LatLng(9.93, -84.09), @@ -4111,8 +3705,6 @@ class CountryCub extends WorldCountry { codeNumeric: "192", codeShort: "CU", cioc: "CUB", - independent: true, - unMember: true, currencies: const [FiatCuc(), FiatCup()], idd: const Idd(root: 5, suffixes: [3]), altSpellings: const ["CU", "Republic of Cuba", "República de Cuba"], @@ -4121,8 +3713,6 @@ class CountryCub extends WorldCountry { languages: const [LangSpa()], translations: cubCountryTranslations, latLng: const LatLng(21.5, -80), - landlocked: false, - bordersCodes: null, areaMetric: 109884, demonyms: const [ Demonyms(language: LangEng(), female: "Cuban", male: "Cuban"), @@ -4134,12 +3724,9 @@ class CountryCub extends WorldCountry { openStreetMaps: "relation/307833", ), population: 11326616, - gini: null, fifa: "CUB", car: const Car(sign: "C"), timezones: const ["UTC-05:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Havana"), latLng: LatLng(23.12, -82.35), @@ -4148,7 +3735,6 @@ class CountryCub extends WorldCountry { format: "CP #####", regExpPattern: r"^(?:CP)*(\d{5})$", ), - regionalBlocs: null, ); } @@ -4180,7 +3766,6 @@ class CountryCuw extends WorldCountry { code: "CUW", codeNumeric: "531", codeShort: "CW", - cioc: null, independent: false, unMember: false, currencies: const [FiatAng()], @@ -4198,8 +3783,6 @@ class CountryCuw extends WorldCountry { languages: const [LangEng(), LangNld()], translations: cuwCountryTranslations, latLng: const LatLng(12.116667, -68.933333), - landlocked: false, - bordersCodes: null, areaMetric: 444, demonyms: const [ Demonyms( @@ -4219,18 +3802,13 @@ class CountryCuw extends WorldCountry { openStreetMaps: "relation/1216719", ), population: 155014, - gini: null, fifa: "CUW", car: const Car(sign: "CW"), timezones: const ["UTC-04:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Willemstad"), latLng: LatLng(12.1, -68.92), ), - postalCode: null, - regionalBlocs: null, ); } @@ -4257,7 +3835,6 @@ class CountryCxr extends WorldCountry { code: "CXR", codeNumeric: "162", codeShort: "CX", - cioc: null, independent: false, unMember: false, currencies: const [FiatAud()], @@ -4268,8 +3845,6 @@ class CountryCxr extends WorldCountry { languages: const [LangEng()], translations: cxrCountryTranslations, latLng: const LatLng(-10.5, 105.66666666), - landlocked: false, - bordersCodes: null, areaMetric: 135, demonyms: const [ Demonyms( @@ -4284,19 +3859,14 @@ class CountryCxr extends WorldCountry { openStreetMaps: "relation/6365444", ), population: 2072, - gini: null, - fifa: null, car: const Car(sign: "AUS", isRightSide: false), timezones: const ["UTC+07:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Flying Fish Cove"), latLng: LatLng(-10.42, 105.68), ), postalCode: const PostalCode(format: "####", regExpPattern: r"^(\d{4})$"), - regionalBlocs: null, ); } @@ -4334,8 +3904,6 @@ class CountryCym extends WorldCountry { languages: const [LangEng()], translations: cymCountryTranslations, latLng: const LatLng(19.3133, -81.2546), - landlocked: false, - bordersCodes: null, areaMetric: 264, demonyms: const [ Demonyms( @@ -4355,18 +3923,13 @@ class CountryCym extends WorldCountry { openStreetMaps: "relation/7269765", ), population: 65720, - gini: null, fifa: "CAY", car: const Car(sign: "GB", isRightSide: false), timezones: const ["UTC-05:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("George Town"), latLng: LatLng(19.3, -81.38), ), - postalCode: null, - regionalBlocs: null, ); } @@ -4399,8 +3962,6 @@ class CountryCyp extends WorldCountry { codeNumeric: "196", codeShort: "CY", cioc: "CYP", - independent: true, - unMember: true, currencies: const [FiatEur()], idd: const Idd(root: 3, suffixes: [57]), altSpellings: const [ @@ -4416,8 +3977,6 @@ class CountryCyp extends WorldCountry { languages: const [LangEll(), LangTur()], translations: cypCountryTranslations, latLng: const LatLng(35, 33), - landlocked: false, - bordersCodes: null, areaMetric: 9251, demonyms: const [ Demonyms(language: LangEng(), female: "Cypriot", male: "Cypriot"), @@ -4437,8 +3996,6 @@ class CountryCyp extends WorldCountry { fifa: "CYP", car: const Car(sign: "CY", isRightSide: false), timezones: const ["UTC+02:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Nicosia"), latLng: LatLng(35.17, 33.37), @@ -4473,8 +4030,6 @@ class CountryCze extends WorldCountry { codeNumeric: "203", codeShort: "CZ", cioc: "CZE", - independent: true, - unMember: true, currencies: const [FiatCzk()], idd: const Idd(root: 4, suffixes: [20]), altSpellings: const ["CZ", "Česká republika", "Česko"], @@ -4500,8 +4055,6 @@ class CountryCze extends WorldCountry { fifa: "CZE", car: const Car(sign: "CZ"), timezones: const ["UTC+01:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Prague"), latLng: LatLng(50.08, 14.47), @@ -4535,8 +4088,6 @@ class CountryDeu extends WorldCountry { codeNumeric: "276", codeShort: "DE", cioc: "GER", - independent: true, - unMember: true, currencies: const [FiatEur()], idd: const Idd(root: 4, suffixes: [9]), altSpellings: const [ @@ -4549,7 +4100,6 @@ class CountryDeu extends WorldCountry { languages: const [LangDeu()], translations: deuCountryTranslations, latLng: const LatLng(51, 9), - landlocked: false, bordersCodes: const [ "Aut", "Bel", @@ -4580,8 +4130,6 @@ class CountryDeu extends WorldCountry { fifa: "GER", car: const Car(sign: "DY"), timezones: const ["UTC+01:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Berlin"), latLng: LatLng(52.52, 13.4), @@ -4620,8 +4168,6 @@ class CountryDji extends WorldCountry { codeNumeric: "262", codeShort: "DJ", cioc: "DJI", - independent: true, - unMember: true, currencies: const [FiatDjf()], idd: const Idd(root: 2, suffixes: [53]), altSpellings: const [ @@ -4638,15 +4184,10 @@ class CountryDji extends WorldCountry { languages: const [LangAra(), LangFra()], translations: djiCountryTranslations, latLng: const LatLng(11.5, 43), - landlocked: false, bordersCodes: const ["Eri", "Eth", "Som"], areaMetric: 23200, demonyms: const [ - Demonyms( - language: LangEng(), - female: "Djibouti", - male: "Djibouti", - ), + Demonyms(language: LangEng(), female: "Djibouti", male: "Djibouti"), Demonyms( language: LangFra(), female: "Djiboutienne", @@ -4663,13 +4204,10 @@ class CountryDji extends WorldCountry { fifa: "DJI", car: const Car(sign: "DJI"), timezones: const ["UTC+03:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Djibouti"), latLng: LatLng(11.58, 43.15), ), - postalCode: null, regionalBlocs: const [BlocAU(), BlocAL()], ); } @@ -4698,8 +4236,6 @@ class CountryDma extends WorldCountry { codeNumeric: "212", codeShort: "DM", cioc: "DMA", - independent: true, - unMember: true, currencies: const [FiatXcd()], idd: const Idd(root: 1, suffixes: [767]), altSpellings: const [ @@ -4713,8 +4249,6 @@ class CountryDma extends WorldCountry { languages: const [LangEng()], translations: dmaCountryTranslations, latLng: const LatLng(15.41666666, -61.33333333), - landlocked: false, - bordersCodes: null, areaMetric: 751, demonyms: const [ Demonyms( @@ -4734,18 +4268,13 @@ class CountryDma extends WorldCountry { openStreetMaps: "relation/307823", ), population: 71991, - gini: null, fifa: "DMA", car: const Car(sign: "WD", isRightSide: false), timezones: const ["UTC-04:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Roseau"), latLng: LatLng(15.3, -61.4), ), - postalCode: null, - regionalBlocs: null, ); } @@ -4773,8 +4302,6 @@ class CountryDnk extends WorldCountry { codeNumeric: "208", codeShort: "DK", cioc: "DEN", - independent: true, - unMember: true, currencies: const [FiatDkk()], idd: const Idd(root: 4, suffixes: [5]), altSpellings: const [ @@ -4788,7 +4315,6 @@ class CountryDnk extends WorldCountry { languages: const [LangDan()], translations: dnkCountryTranslations, latLng: const LatLng(56, 10), - landlocked: false, bordersCodes: const ["Deu"], areaMetric: 43094, demonyms: const [ @@ -4811,8 +4337,6 @@ class CountryDnk extends WorldCountry { "UTC+00:00", "UTC+01:00", ], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Copenhagen"), latLng: LatLng(55.67, 12.58), @@ -4847,8 +4371,6 @@ class CountryDom extends WorldCountry { codeNumeric: "214", codeShort: "DO", cioc: "DOM", - independent: true, - unMember: true, currencies: const [FiatDop()], idd: const Idd(root: 1, suffixes: [809, 829, 849]), altSpellings: const ["DO"], @@ -4857,7 +4379,6 @@ class CountryDom extends WorldCountry { languages: const [LangSpa()], translations: domCountryTranslations, latLng: const LatLng(19, -70.66666666), - landlocked: false, bordersCodes: const ["Hti"], areaMetric: 48671, demonyms: const [ @@ -4882,8 +4403,6 @@ class CountryDom extends WorldCountry { fifa: "DOM", car: const Car(sign: "DOM"), timezones: const ["UTC-04:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Santo Domingo"), latLng: LatLng(18.47, -69.9), @@ -4917,8 +4436,6 @@ class CountryDza extends WorldCountry { codeNumeric: "012", codeShort: "DZ", cioc: "ALG", - independent: true, - unMember: true, currencies: const [FiatDzd()], idd: const Idd(root: 2, suffixes: [13]), altSpellings: const ["DZ", "Dzayer", "Algérie"], @@ -4927,23 +4444,10 @@ class CountryDza extends WorldCountry { languages: const [LangAra()], translations: dzaCountryTranslations, latLng: const LatLng(28, 3), - landlocked: false, - bordersCodes: const [ - "Tun", - "Lby", - "Ner", - "Esh", - "Mrt", - "Mli", - "Mar", - ], + bordersCodes: const ["Tun", "Lby", "Ner", "Esh", "Mrt", "Mli", "Mar"], areaMetric: 2381741, demonyms: const [ - Demonyms( - language: LangEng(), - female: "Algerian", - male: "Algerian", - ), + Demonyms(language: LangEng(), female: "Algerian", male: "Algerian"), Demonyms( language: LangFra(), female: "Algérienne", @@ -4960,7 +4464,6 @@ class CountryDza extends WorldCountry { fifa: "ALG", car: const Car(sign: "DZ"), timezones: const ["UTC+01:00"], - hasCoatOfArms: true, startOfWeek: Weekday.sunday, capitalInfo: const CapitalInfo( capital: Capital("Algiers"), @@ -4995,8 +4498,6 @@ class CountryEcu extends WorldCountry { codeNumeric: "218", codeShort: "EC", cioc: "ECU", - independent: true, - unMember: true, currencies: const [FiatUsd()], idd: const Idd(root: 5, suffixes: [93]), altSpellings: const [ @@ -5009,7 +4510,6 @@ class CountryEcu extends WorldCountry { languages: const [LangSpa()], translations: ecuCountryTranslations, latLng: const LatLng(-2, -77.5), - landlocked: false, bordersCodes: const ["Col", "Per"], areaMetric: 276841, demonyms: const [ @@ -5034,8 +4534,6 @@ class CountryEcu extends WorldCountry { fifa: "ECU", car: const Car(sign: "EC"), timezones: const ["UTC-06:00", "UTC-05:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Quito"), latLng: LatLng(-0.22, -78.5), @@ -5072,8 +4570,6 @@ class CountryEgy extends WorldCountry { codeNumeric: "818", codeShort: "EG", cioc: "EGY", - independent: true, - unMember: true, currencies: const [FiatEgp()], idd: const Idd(root: 2, suffixes: [0]), altSpellings: const ["EG", "Arab Republic of Egypt"], @@ -5082,15 +4578,10 @@ class CountryEgy extends WorldCountry { languages: const [LangAra()], translations: egyCountryTranslations, latLng: const LatLng(27, 30), - landlocked: false, bordersCodes: const ["Isr", "Lby", "Pse", "Sdn"], areaMetric: 1002450, demonyms: const [ - Demonyms( - language: LangEng(), - female: "Egyptian", - male: "Egyptian", - ), + Demonyms(language: LangEng(), female: "Egyptian", male: "Egyptian"), Demonyms( language: LangFra(), female: "Égyptienne", @@ -5107,7 +4598,6 @@ class CountryEgy extends WorldCountry { fifa: "EGY", car: const Car(sign: "ET"), timezones: const ["UTC+02:00"], - hasCoatOfArms: true, startOfWeek: Weekday.sunday, capitalInfo: const CapitalInfo( capital: Capital("Cairo"), @@ -5152,8 +4642,6 @@ class CountryEri extends WorldCountry { codeNumeric: "232", codeShort: "ER", cioc: "ERI", - independent: true, - unMember: true, currencies: const [FiatErn()], idd: const Idd(root: 2, suffixes: [91]), altSpellings: const [ @@ -5169,15 +4657,10 @@ class CountryEri extends WorldCountry { languages: const [LangAra(), LangEng(), LangTir()], translations: eriCountryTranslations, latLng: const LatLng(15, 39), - landlocked: false, bordersCodes: const ["Dji", "Eth", "Sdn"], areaMetric: 117600, demonyms: const [ - Demonyms( - language: LangEng(), - female: "Eritrean", - male: "Eritrean", - ), + Demonyms(language: LangEng(), female: "Eritrean", male: "Eritrean"), Demonyms( language: LangFra(), female: "Érythréenne", @@ -5190,17 +4673,13 @@ class CountryEri extends WorldCountry { openStreetMaps: "relation/296961", ), population: 5352000, - gini: null, fifa: "ERI", car: const Car(sign: "ER"), timezones: const ["UTC+03:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Asmara"), latLng: LatLng(15.33, 38.93), ), - postalCode: null, regionalBlocs: const [BlocAU()], ); } @@ -5228,7 +4707,6 @@ class CountryEsh extends WorldCountry { code: "ESH", codeNumeric: "732", codeShort: "EH", - cioc: null, independent: false, unMember: false, currencies: const [FiatDzd(), FiatMad(), FiatMru()], @@ -5239,7 +4717,6 @@ class CountryEsh extends WorldCountry { languages: const [LangSpa()], translations: eshCountryTranslations, latLng: const LatLng(24.5, -13), - landlocked: false, bordersCodes: const ["Dza", "Mrt", "Mar"], areaMetric: 266000, demonyms: const [ @@ -5251,17 +4728,13 @@ class CountryEsh extends WorldCountry { openStreetMaps: "relation/5441968", ), population: 510713, - gini: null, - fifa: null, car: const Car(), timezones: const ["UTC+00:00"], hasCoatOfArms: false, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("El Aaiún"), latLng: LatLng(-13.28, 27.14), ), - postalCode: null, regionalBlocs: const [BlocAU()], ); } @@ -5290,8 +4763,6 @@ class CountryEsp extends WorldCountry { codeNumeric: "724", codeShort: "ES", cioc: "ESP", - independent: true, - unMember: true, currencies: const [FiatEur()], idd: const Idd(root: 3, suffixes: [4]), altSpellings: const ["ES", "Kingdom of Spain", "Reino de España"], @@ -5300,7 +4771,6 @@ class CountryEsp extends WorldCountry { languages: const [LangSpa()], translations: espCountryTranslations, latLng: const LatLng(40, -4), - landlocked: false, bordersCodes: const ["And", "Fra", "Gib", "Prt", "Mar"], areaMetric: 505992, demonyms: const [ @@ -5321,8 +4791,6 @@ class CountryEsp extends WorldCountry { fifa: "ESP", car: const Car(sign: "E"), timezones: const ["UTC+00:00", "UTC+01:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Madrid"), latLng: LatLng(40.4, -3.68), @@ -5356,8 +4824,6 @@ class CountryEst extends WorldCountry { codeNumeric: "233", codeShort: "EE", cioc: "EST", - independent: true, - unMember: true, currencies: const [FiatEur()], idd: const Idd(root: 3, suffixes: [72]), altSpellings: const [ @@ -5371,15 +4837,10 @@ class CountryEst extends WorldCountry { languages: const [LangEst()], translations: estCountryTranslations, latLng: const LatLng(59, 26), - landlocked: false, bordersCodes: const ["Lva", "Rus"], areaMetric: 45227, demonyms: const [ - Demonyms( - language: LangEng(), - female: "Estonian", - male: "Estonian", - ), + Demonyms(language: LangEng(), female: "Estonian", male: "Estonian"), Demonyms( language: LangFra(), female: "Estonienne", @@ -5396,8 +4857,6 @@ class CountryEst extends WorldCountry { fifa: "EST", car: const Car(sign: "EST"), timezones: const ["UTC+02:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Tallinn"), latLng: LatLng(59.43, 24.72), @@ -5431,8 +4890,6 @@ class CountryEth extends WorldCountry { codeNumeric: "231", codeShort: "ET", cioc: "ETH", - independent: true, - unMember: true, currencies: const [FiatEtb()], idd: const Idd(root: 2, suffixes: [51]), altSpellings: const [ @@ -5471,8 +4928,6 @@ class CountryEth extends WorldCountry { fifa: "ETH", car: const Car(sign: "ETH"), timezones: const ["UTC+03:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Addis Ababa"), latLng: LatLng(9.03, 38.7), @@ -5512,8 +4967,6 @@ class CountryFin extends WorldCountry { codeNumeric: "246", codeShort: "FI", cioc: "FIN", - independent: true, - unMember: true, currencies: const [FiatEur()], idd: const Idd(root: 3, suffixes: [58]), altSpellings: const [ @@ -5528,7 +4981,6 @@ class CountryFin extends WorldCountry { languages: const [LangFin(), LangSwe()], translations: finCountryTranslations, latLng: const LatLng(64, 26), - landlocked: false, bordersCodes: const ["Nor", "Swe", "Rus"], areaMetric: 338424, demonyms: const [ @@ -5549,8 +5001,6 @@ class CountryFin extends WorldCountry { fifa: "FIN", car: const Car(sign: "FIN"), timezones: const ["UTC+02:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Helsinki"), latLng: LatLng(60.17, 24.93), @@ -5589,8 +5039,6 @@ class CountryFji extends WorldCountry { codeNumeric: "242", codeShort: "FJ", cioc: "FIJ", - independent: true, - unMember: true, currencies: const [FiatFjd()], idd: const Idd(root: 6, suffixes: [79]), altSpellings: const [ @@ -5605,16 +5053,10 @@ class CountryFji extends WorldCountry { languages: const [LangEng(), LangFij()], translations: fjiCountryTranslations, latLng: const LatLng(17.7134, 178.065), - landlocked: false, - bordersCodes: null, areaMetric: 18272, demonyms: const [ Demonyms(language: LangEng(), female: "Fijian", male: "Fijian"), - Demonyms( - language: LangFra(), - female: "Fidjienne", - male: "Fidjien", - ), + Demonyms(language: LangFra(), female: "Fidjienne", male: "Fidjien"), ], emoji: "🇫🇯", maps: const Maps( @@ -5626,14 +5068,10 @@ class CountryFji extends WorldCountry { fifa: "FIJ", car: const Car(sign: "FJI", isRightSide: false), timezones: const ["UTC+12:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Suva"), latLng: LatLng(-18.13, 178.42), ), - postalCode: null, - regionalBlocs: null, ); } @@ -5660,7 +5098,6 @@ class CountryFlk extends WorldCountry { code: "FLK", codeNumeric: "238", codeShort: "FK", - cioc: null, independent: false, unMember: false, currencies: const [FiatFkp()], @@ -5675,8 +5112,6 @@ class CountryFlk extends WorldCountry { languages: const [LangEng()], translations: flkCountryTranslations, latLng: const LatLng(-51.75, -59), - landlocked: false, - bordersCodes: null, areaMetric: 12173, demonyms: const [ Demonyms( @@ -5684,11 +5119,7 @@ class CountryFlk extends WorldCountry { female: "Falkland Islander", male: "Falkland Islander", ), - Demonyms( - language: LangFra(), - female: "Malouinne", - male: "Malouin", - ), + Demonyms(language: LangFra(), female: "Malouinne", male: "Malouin"), ], emoji: "🇫🇰", maps: const Maps( @@ -5696,17 +5127,12 @@ class CountryFlk extends WorldCountry { openStreetMaps: "relation/2185374", ), population: 2563, - gini: null, - fifa: null, car: const Car(sign: "GB", isRightSide: false), timezones: const ["UTC-04:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Stanley"), latLng: LatLng(-51.7, -57.85), ), - postalCode: null, regionalBlocs: const [BlocUSAN()], ); } @@ -5735,21 +5161,14 @@ class CountryFra extends WorldCountry { codeNumeric: "250", codeShort: "FR", cioc: "FRA", - independent: true, - unMember: true, currencies: const [FiatEur()], idd: const Idd(root: 3, suffixes: [3]), - altSpellings: const [ - "FR", - "French Republic", - "République française", - ], + altSpellings: const ["FR", "French Republic", "République française"], continent: const Europe(), subregion: const WesternEurope(), languages: const [LangFra()], translations: fraCountryTranslations, latLng: const LatLng(46, 2), - landlocked: false, bordersCodes: const [ "And", "Bel", @@ -5794,8 +5213,6 @@ class CountryFra extends WorldCountry { "UTC+11:00", "UTC+12:00", ], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Paris"), latLng: LatLng(48.87, 2.33), @@ -5833,7 +5250,6 @@ class CountryFro extends WorldCountry { code: "FRO", codeNumeric: "234", codeShort: "FO", - cioc: null, independent: false, unMember: false, currencies: const [FiatDkk()], @@ -5844,16 +5260,10 @@ class CountryFro extends WorldCountry { languages: const [LangDan(), LangFao()], translations: froCountryTranslations, latLng: const LatLng(62, -7), - landlocked: false, - bordersCodes: null, areaMetric: 1393, demonyms: const [ Demonyms(language: LangEng(), female: "Faroese", male: "Faroese"), - Demonyms( - language: LangFra(), - female: "Féroïenne", - male: "Féroïen", - ), + Demonyms(language: LangFra(), female: "Féroïenne", male: "Féroïen"), ], emoji: "🇫🇴", maps: const Maps( @@ -5861,12 +5271,9 @@ class CountryFro extends WorldCountry { openStreetMaps: "relation/52939", ), population: 48865, - gini: null, fifa: "FRO", car: const Car(sign: "FO"), timezones: const ["UTC+00:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Tórshavn"), latLng: LatLng(62.01, -6.77), @@ -5875,7 +5282,6 @@ class CountryFro extends WorldCountry { format: "FO-###", regExpPattern: r"^(?:FO)*(\d{3})$", ), - regionalBlocs: null, ); } @@ -5903,8 +5309,6 @@ class CountryFsm extends WorldCountry { codeNumeric: "583", codeShort: "FM", cioc: "FSM", - independent: true, - unMember: true, currencies: const [FiatUsd()], idd: const Idd(root: 6, suffixes: [91]), altSpellings: const [ @@ -5917,8 +5321,6 @@ class CountryFsm extends WorldCountry { languages: const [LangEng()], translations: fsmCountryTranslations, latLng: const LatLng(6.91666666, 158.25), - landlocked: false, - bordersCodes: null, areaMetric: 702, demonyms: const [ Demonyms( @@ -5939,17 +5341,13 @@ class CountryFsm extends WorldCountry { ), population: 115021, gini: const Gini(year: 2013, coefficient: 40.1), - fifa: null, car: const Car(sign: "FSM"), timezones: const ["UTC+10:00", "UTC+11:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Palikir"), latLng: LatLng(6.92, 158.15), ), postalCode: const PostalCode(), - regionalBlocs: null, ); } @@ -5977,8 +5375,6 @@ class CountryGab extends WorldCountry { codeNumeric: "266", codeShort: "GA", cioc: "GAB", - independent: true, - unMember: true, currencies: const [FiatXaf()], idd: const Idd(root: 2, suffixes: [41]), altSpellings: const [ @@ -5991,15 +5387,10 @@ class CountryGab extends WorldCountry { languages: const [LangFra()], translations: gabCountryTranslations, latLng: const LatLng(-1, 11.75), - landlocked: false, bordersCodes: const ["Cmr", "Cog", "Gnq"], areaMetric: 267668, demonyms: const [ - Demonyms( - language: LangEng(), - female: "Gabonese", - male: "Gabonese", - ), + Demonyms(language: LangEng(), female: "Gabonese", male: "Gabonese"), Demonyms( language: LangFra(), female: "Gabonaise", @@ -6016,13 +5407,10 @@ class CountryGab extends WorldCountry { fifa: "GAB", car: const Car(sign: "G"), timezones: const ["UTC+01:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Libreville"), latLng: LatLng(0.38, 9.45), ), - postalCode: null, regionalBlocs: const [BlocAU()], ); } @@ -6051,8 +5439,6 @@ class CountryGbr extends WorldCountry { codeNumeric: "826", codeShort: "GB", cioc: "GBR", - independent: true, - unMember: true, currencies: const [FiatGbp()], idd: const Idd(root: 4, suffixes: [4]), altSpellings: const ["GB", "UK", "Great Britain"], @@ -6061,7 +5447,6 @@ class CountryGbr extends WorldCountry { languages: const [LangEng()], translations: gbrCountryTranslations, latLng: const LatLng(54, -2), - landlocked: false, bordersCodes: const ["Irl"], areaMetric: 242900, demonyms: const [ @@ -6079,7 +5464,6 @@ class CountryGbr extends WorldCountry { ), population: 67215293, gini: const Gini(year: 2017, coefficient: 35.1), - fifa: null, car: const Car(sign: "GB", isRightSide: false), timezones: const [ "UTC-08:00", @@ -6092,8 +5476,6 @@ class CountryGbr extends WorldCountry { "UTC+02:00", "UTC+06:00", ], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("London"), latLng: LatLng(51.5, -0.08), @@ -6103,7 +5485,6 @@ class CountryGbr extends WorldCountry { regExpPattern: r"^(([A-Z]\d{2}[A-Z]{2})|([A-Z]\d{3}[A-Z]{2})|([A-Z]{2}\d{2}[A-Z]{2})|([A-Z]{2}\d{3}[A-Z]{2})|([A-Z]\d[A-Z]\d[A-Z]{2})|([A-Z]{2}\d[A-Z]\d[A-Z]{2})|(GIR0AA))$", ), - regionalBlocs: null, ); } @@ -6131,8 +5512,6 @@ class CountryGeo extends WorldCountry { codeNumeric: "268", codeShort: "GE", cioc: "GEO", - independent: true, - unMember: true, currencies: const [FiatGel()], idd: const Idd(root: 9, suffixes: [95]), altSpellings: const ["GE", "Sakartvelo"], @@ -6141,15 +5520,10 @@ class CountryGeo extends WorldCountry { languages: const [LangKat()], translations: geoCountryTranslations, latLng: const LatLng(42, 43.5), - landlocked: false, bordersCodes: const ["Arm", "Aze", "Rus", "Tur"], areaMetric: 69700, demonyms: const [ - Demonyms( - language: LangEng(), - female: "Georgian", - male: "Georgian", - ), + Demonyms(language: LangEng(), female: "Georgian", male: "Georgian"), Demonyms( language: LangFra(), female: "Géorgienne", @@ -6166,15 +5540,12 @@ class CountryGeo extends WorldCountry { fifa: "GEO", car: const Car(sign: "GE"), timezones: const ["UTC+04:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Tbilisi"), latLng: LatLng(41.68, 44.83), ), postalCode: const PostalCode(format: "####", regExpPattern: r"^(\d{4})$"), - regionalBlocs: null, ); } @@ -6206,7 +5577,6 @@ class CountryGgy extends WorldCountry { code: "GGY", codeNumeric: "831", codeShort: "GG", - cioc: null, independent: false, unMember: false, currencies: const [FiatGbp()], @@ -6221,8 +5591,6 @@ class CountryGgy extends WorldCountry { languages: const [LangEng(), LangFra()], translations: ggyCountryTranslations, latLng: const LatLng(49.46666666, -2.58333333), - landlocked: false, - bordersCodes: null, areaMetric: 78, demonyms: const [ Demonyms( @@ -6242,12 +5610,8 @@ class CountryGgy extends WorldCountry { openStreetMaps: "relation/270009", ), population: 62999, - gini: null, - fifa: null, car: const Car(sign: "GBG", isRightSide: false), timezones: const ["UTC+00:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("St. Peter Port"), latLng: LatLng(49.45, -2.54), @@ -6257,7 +5621,6 @@ class CountryGgy extends WorldCountry { regExpPattern: r"^(([A-Z]\d{2}[A-Z]{2})|([A-Z]\d{3}[A-Z]{2})|([A-Z]{2}\d{2}[A-Z]{2})|([A-Z]{2}\d{3}[A-Z]{2})|([A-Z]\d[A-Z]\d[A-Z]{2})|([A-Z]{2}\d[A-Z]\d[A-Z]{2})|(GIR0AA))$", ), - regionalBlocs: null, ); } @@ -6285,8 +5648,6 @@ class CountryGha extends WorldCountry { codeNumeric: "288", codeShort: "GH", cioc: "GHA", - independent: true, - unMember: true, currencies: const [FiatGhs()], idd: const Idd(root: 2, suffixes: [33]), altSpellings: const ["GH"], @@ -6295,20 +5656,11 @@ class CountryGha extends WorldCountry { languages: const [LangEng()], translations: ghaCountryTranslations, latLng: const LatLng(8, -2), - landlocked: false, bordersCodes: const ["Bfa", "Civ", "Tgo"], areaMetric: 238533, demonyms: const [ - Demonyms( - language: LangEng(), - female: "Ghanaian", - male: "Ghanaian", - ), - Demonyms( - language: LangFra(), - female: "Ghanéenne", - male: "Ghanéen", - ), + Demonyms(language: LangEng(), female: "Ghanaian", male: "Ghanaian"), + Demonyms(language: LangFra(), female: "Ghanéenne", male: "Ghanéen"), ], emoji: "🇬🇭", maps: const Maps( @@ -6320,13 +5672,10 @@ class CountryGha extends WorldCountry { fifa: "GHA", car: const Car(sign: "GH"), timezones: const ["UTC+00:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Accra"), latLng: LatLng(5.55, -0.22), ), - postalCode: null, regionalBlocs: const [BlocAU()], ); } @@ -6354,7 +5703,6 @@ class CountryGib extends WorldCountry { code: "GIB", codeNumeric: "292", codeShort: "GI", - cioc: null, independent: false, unMember: false, currencies: const [FiatGip()], @@ -6365,7 +5713,6 @@ class CountryGib extends WorldCountry { languages: const [LangEng()], translations: gibCountryTranslations, latLng: const LatLng(36.13333333, -5.35), - landlocked: false, bordersCodes: const ["Esp"], areaMetric: 6, demonyms: const [ @@ -6386,17 +5733,13 @@ class CountryGib extends WorldCountry { openStreetMaps: "relation/1278736", ), population: 33691, - gini: null, fifa: "GIB", car: const Car(sign: "GBZ"), timezones: const ["UTC+01:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Gibraltar"), latLng: LatLng(36.13, -5.35), ), - postalCode: null, regionalBlocs: const [BlocEU()], ); } @@ -6425,8 +5768,6 @@ class CountryGin extends WorldCountry { codeNumeric: "324", codeShort: "GN", cioc: "GUI", - independent: true, - unMember: true, currencies: const [FiatGnf()], idd: const Idd(root: 2, suffixes: [24]), altSpellings: const [ @@ -6439,16 +5780,11 @@ class CountryGin extends WorldCountry { languages: const [LangFra()], translations: ginCountryTranslations, latLng: const LatLng(11, -10), - landlocked: false, bordersCodes: const ["Civ", "Gnb", "Lbr", "Mli", "Sen", "Sle"], areaMetric: 245857, demonyms: const [ Demonyms(language: LangEng(), female: "Guinean", male: "Guinean"), - Demonyms( - language: LangFra(), - female: "Guinéenne", - male: "Guinéen", - ), + Demonyms(language: LangFra(), female: "Guinéenne", male: "Guinéen"), ], emoji: "🇬🇳", maps: const Maps( @@ -6460,13 +5796,10 @@ class CountryGin extends WorldCountry { fifa: "GUI", car: const Car(sign: "RG"), timezones: const ["UTC+00:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Conakry"), latLng: LatLng(9.5, -13.7), ), - postalCode: null, regionalBlocs: const [BlocAU()], ); } @@ -6494,7 +5827,6 @@ class CountryGlp extends WorldCountry { code: "GLP", codeNumeric: "312", codeShort: "GP", - cioc: null, independent: false, unMember: false, currencies: const [FiatEur()], @@ -6505,8 +5837,6 @@ class CountryGlp extends WorldCountry { languages: const [LangFra()], translations: glpCountryTranslations, latLng: const LatLng(16.25, -61.583333), - landlocked: false, - bordersCodes: null, areaMetric: 1628, demonyms: const [ Demonyms( @@ -6526,18 +5856,13 @@ class CountryGlp extends WorldCountry { openStreetMaps: "relation/7109289", ), population: 400132, - gini: null, - fifa: null, car: const Car(sign: "F"), timezones: const ["UTC-04:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Basse-Terre"), latLng: LatLng(16.03, -61.73), ), postalCode: const PostalCode(regExpPattern: r"^((97|98)\d{3})$"), - regionalBlocs: null, ); } @@ -6565,8 +5890,6 @@ class CountryGmb extends WorldCountry { codeNumeric: "270", codeShort: "GM", cioc: "GAM", - independent: true, - unMember: true, currencies: const [FiatGmd()], idd: const Idd(root: 2, suffixes: [20]), altSpellings: const ["GM", "Republic of the Gambia"], @@ -6575,16 +5898,11 @@ class CountryGmb extends WorldCountry { languages: const [LangEng()], translations: gmbCountryTranslations, latLng: const LatLng(13.46666666, -16.56666666), - landlocked: false, bordersCodes: const ["Sen"], areaMetric: 10689, demonyms: const [ Demonyms(language: LangEng(), female: "Gambian", male: "Gambian"), - Demonyms( - language: LangFra(), - female: "Gambienne", - male: "Gambien", - ), + Demonyms(language: LangFra(), female: "Gambienne", male: "Gambien"), ], emoji: "🇬🇲", maps: const Maps( @@ -6596,13 +5914,10 @@ class CountryGmb extends WorldCountry { fifa: "GAM", car: const Car(sign: "WAG"), timezones: const ["UTC+00:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Banjul"), latLng: LatLng(13.45, -16.57), ), - postalCode: null, regionalBlocs: const [BlocAU()], ); } @@ -6631,7 +5946,6 @@ class CountryGnb extends WorldCountry { codeNumeric: "624", codeShort: "GW", cioc: "GBS", - independent: true, unMember: false, currencies: const [FiatXof()], idd: const Idd(root: 2, suffixes: [45]), @@ -6645,7 +5959,6 @@ class CountryGnb extends WorldCountry { languages: const [LangPor()], translations: gnbCountryTranslations, latLng: const LatLng(12, -15), - landlocked: false, bordersCodes: const ["Gin", "Sen"], areaMetric: 36125, demonyms: const [ @@ -6670,8 +5983,6 @@ class CountryGnb extends WorldCountry { fifa: "GNB", car: const Car(sign: "RGB"), timezones: const ["UTC+00:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Bissau"), latLng: LatLng(11.85, -15.58), @@ -6716,8 +6027,6 @@ class CountryGnq extends WorldCountry { codeNumeric: "226", codeShort: "GQ", cioc: "GEQ", - independent: true, - unMember: true, currencies: const [FiatXaf()], idd: const Idd(root: 2, suffixes: [40]), altSpellings: const [ @@ -6732,7 +6041,6 @@ class CountryGnq extends WorldCountry { languages: const [LangFra(), LangPor(), LangSpa()], translations: gnqCountryTranslations, latLng: const LatLng(2, 10), - landlocked: false, bordersCodes: const ["Cmr", "Gab"], areaMetric: 28051, demonyms: const [ @@ -6753,17 +6061,13 @@ class CountryGnq extends WorldCountry { openStreetMaps: "relation/192791", ), population: 1402985, - gini: null, fifa: "EQG", car: const Car(sign: "GQ"), timezones: const ["UTC+01:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Malabo"), latLng: LatLng(3.75, 8.78), ), - postalCode: null, regionalBlocs: const [BlocAU()], ); } @@ -6792,8 +6096,6 @@ class CountryGrc extends WorldCountry { codeNumeric: "300", codeShort: "GR", cioc: "GRE", - independent: true, - unMember: true, currencies: const [FiatEur()], idd: const Idd(root: 3, suffixes: [0]), altSpellings: const [ @@ -6807,7 +6109,6 @@ class CountryGrc extends WorldCountry { languages: const [LangEll()], translations: grcCountryTranslations, latLng: const LatLng(39, 22), - landlocked: false, bordersCodes: const ["Alb", "Bgr", "Tur", "Mkd"], areaMetric: 131990, demonyms: const [ @@ -6824,8 +6125,6 @@ class CountryGrc extends WorldCountry { fifa: "GRE", car: const Car(sign: "GR"), timezones: const ["UTC+02:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Athens"), latLng: LatLng(37.98, 23.73), @@ -6859,8 +6158,6 @@ class CountryGrd extends WorldCountry { codeNumeric: "308", codeShort: "GD", cioc: "GRN", - independent: true, - unMember: true, currencies: const [FiatXcd()], idd: const Idd(root: 1, suffixes: [473]), altSpellings: const ["GD"], @@ -6869,8 +6166,6 @@ class CountryGrd extends WorldCountry { languages: const [LangEng()], translations: grdCountryTranslations, latLng: const LatLng(12.11666666, -61.66666666), - landlocked: false, - bordersCodes: null, areaMetric: 344, demonyms: const [ Demonyms( @@ -6890,17 +6185,13 @@ class CountryGrd extends WorldCountry { openStreetMaps: "relation/550727", ), population: 112519, - gini: null, fifa: "GRN", car: const Car(sign: "WG", isRightSide: false), timezones: const ["UTC-04:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("St. George's"), latLng: LatLng(32.38, -64.68), ), - postalCode: null, regionalBlocs: const [BlocCAIS()], ); } @@ -6928,7 +6219,6 @@ class CountryGrl extends WorldCountry { code: "GRL", codeNumeric: "304", codeShort: "GL", - cioc: null, independent: false, unMember: false, currencies: const [FiatDkk()], @@ -6939,8 +6229,6 @@ class CountryGrl extends WorldCountry { languages: const [LangKal()], translations: grlCountryTranslations, latLng: const LatLng(72, -40), - landlocked: false, - bordersCodes: null, areaMetric: 2166086, demonyms: const [ Demonyms( @@ -6960,24 +6248,14 @@ class CountryGrl extends WorldCountry { openStreetMaps: "relation/2184073", ), population: 56367, - gini: null, - fifa: null, car: const Car(sign: "DK"), - timezones: const [ - "UTC-04:00", - "UTC-03:00", - "UTC-01:00", - "UTC+00:00", - ], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, + timezones: const ["UTC-04:00", "UTC-03:00", "UTC-01:00", "UTC+00:00"], capitalInfo: const CapitalInfo( capital: Capital("Nuuk"), latLng: LatLng(64.18, -51.75), ), postalCode: const PostalCode(format: "####", regExpPattern: r"^(\d{4})$"), - regionalBlocs: null, ); } @@ -7005,8 +6283,6 @@ class CountryGtm extends WorldCountry { codeNumeric: "320", codeShort: "GT", cioc: "GUA", - independent: true, - unMember: true, currencies: const [FiatGtq()], idd: const Idd(root: 50, suffixes: [2]), altSpellings: const ["GT"], @@ -7015,7 +6291,6 @@ class CountryGtm extends WorldCountry { languages: const [LangSpa()], translations: gtmCountryTranslations, latLng: const LatLng(15.5, -90.25), - landlocked: false, bordersCodes: const ["Blz", "Slv", "Hnd", "Mex"], areaMetric: 108889, demonyms: const [ @@ -7040,14 +6315,11 @@ class CountryGtm extends WorldCountry { fifa: "GUA", car: const Car(sign: "GCA"), timezones: const ["UTC-06:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Guatemala City"), latLng: LatLng(14.62, -90.52), ), postalCode: const PostalCode(), - regionalBlocs: null, ); } @@ -7074,7 +6346,6 @@ class CountryGuf extends WorldCountry { code: "GUF", codeNumeric: "254", codeShort: "GF", - cioc: null, independent: false, unMember: false, currencies: const [FiatEur()], @@ -7085,7 +6356,6 @@ class CountryGuf extends WorldCountry { languages: const [LangFra()], translations: gufCountryTranslations, latLng: const LatLng(4, -53), - landlocked: false, bordersCodes: const ["Bra", "Sur"], areaMetric: 83534, demonyms: const [ @@ -7102,12 +6372,8 @@ class CountryGuf extends WorldCountry { openStreetMaps: "relation/2502058", ), population: 254541, - gini: null, - fifa: null, car: const Car(sign: "F"), timezones: const ["UTC-03:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Cayenne"), latLng: LatLng(4.94, -52.33), @@ -7135,11 +6401,7 @@ class CountryGum extends WorldCountry { official: "Guåhån", common: "Guåhån", ), - CountryName( - language: LangEng(), - official: "Guam", - common: "Guam", - ), + CountryName(language: LangEng(), official: "Guam", common: "Guam"), CountryName(language: LangSpa(), official: "Guam", common: "Guam"), ], tld: const [".gu"], @@ -7157,8 +6419,6 @@ class CountryGum extends WorldCountry { languages: const [LangCha(), LangEng(), LangSpa()], translations: gumCountryTranslations, latLng: const LatLng(13.46666666, 144.78333333), - landlocked: false, - bordersCodes: null, areaMetric: 549, demonyms: const [ Demonyms( @@ -7173,21 +6433,15 @@ class CountryGum extends WorldCountry { openStreetMaps: "relation/306001", ), population: 168783, - gini: null, fifa: "GUM", car: const Car(sign: "USA"), timezones: const ["UTC+10:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Hagåtña"), latLng: LatLng(13.48, 144.75), ), - postalCode: const PostalCode( - format: "969##", - regExpPattern: r"^(969\d{2})$", - ), - regionalBlocs: null, + postalCode: + const PostalCode(format: "969##", regExpPattern: r"^(969\d{2})$"), ); } @@ -7215,8 +6469,6 @@ class CountryGuy extends WorldCountry { codeNumeric: "328", codeShort: "GY", cioc: "GUY", - independent: true, - unMember: true, currencies: const [FiatGyd()], idd: const Idd(root: 5, suffixes: [92]), altSpellings: const ["GY", "Co-operative Republic of Guyana"], @@ -7225,15 +6477,10 @@ class CountryGuy extends WorldCountry { languages: const [LangEng()], translations: guyCountryTranslations, latLng: const LatLng(5, -59), - landlocked: false, bordersCodes: const ["Bra", "Sur", "Ven"], areaMetric: 214969, demonyms: const [ - Demonyms( - language: LangEng(), - female: "Guyanese", - male: "Guyanese", - ), + Demonyms(language: LangEng(), female: "Guyanese", male: "Guyanese"), Demonyms( language: LangFra(), female: "Guyanienne", @@ -7250,13 +6497,10 @@ class CountryGuy extends WorldCountry { fifa: "GUY", car: const Car(sign: "GUY", isRightSide: false), timezones: const ["UTC-04:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Georgetown"), latLng: LatLng(6.8, -58.15), ), - postalCode: null, regionalBlocs: const [BlocCARICOM(), BlocUSAN()], ); } @@ -7302,7 +6546,6 @@ class CountryHkg extends WorldCountry { languages: const [LangEng(), LangZho()], translations: hkgCountryTranslations, latLng: const LatLng(22.267, 114.188), - landlocked: false, bordersCodes: const ["Chn"], areaMetric: 1104, demonyms: const [ @@ -7323,18 +6566,13 @@ class CountryHkg extends WorldCountry { openStreetMaps: "relation/913110", ), population: 7500700, - gini: null, fifa: "HKG", car: const Car(sign: "HK", isRightSide: false), timezones: const ["UTC+08:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("City of Victoria"), latLng: LatLng(22.267, 114.188), ), - postalCode: null, - regionalBlocs: null, ); } @@ -7361,19 +6599,14 @@ class CountryHmd extends WorldCountry { code: "HMD", codeNumeric: "334", codeShort: "HM", - cioc: null, independent: false, unMember: false, - currencies: null, idd: const Idd(root: 6, suffixes: [72]), altSpellings: const ["HM", "Heard Island and McDonald Islands"], continent: const Antarctica(), - subregion: null, languages: const [LangEng()], translations: hmdCountryTranslations, latLng: const LatLng(53.0818, 73.5042), - landlocked: false, - bordersCodes: null, areaMetric: 412, demonyms: const [ Demonyms( @@ -7388,15 +6621,9 @@ class CountryHmd extends WorldCountry { openStreetMaps: "relation/2177227", ), population: 0, - gini: null, - fifa: null, car: const Car(), timezones: const ["UTC+05:00"], hasCoatOfArms: false, - startOfWeek: Weekday.monday, - capitalInfo: null, - postalCode: null, - regionalBlocs: null, ); } @@ -7424,8 +6651,6 @@ class CountryHnd extends WorldCountry { codeNumeric: "340", codeShort: "HN", cioc: "HON", - independent: true, - unMember: true, currencies: const [FiatHnl()], idd: const Idd(root: 50, suffixes: [4]), altSpellings: const [ @@ -7438,15 +6663,10 @@ class CountryHnd extends WorldCountry { languages: const [LangSpa()], translations: hndCountryTranslations, latLng: const LatLng(15, -86.5), - landlocked: false, bordersCodes: const ["Gtm", "Slv", "Nic"], areaMetric: 112492, demonyms: const [ - Demonyms( - language: LangEng(), - female: "Honduran", - male: "Honduran", - ), + Demonyms(language: LangEng(), female: "Honduran", male: "Honduran"), Demonyms( language: LangFra(), female: "Hondurienne", @@ -7463,8 +6683,6 @@ class CountryHnd extends WorldCountry { fifa: "HON", car: const Car(sign: "HN"), timezones: const ["UTC-06:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Tegucigalpa"), latLng: LatLng(14.1, -87.22), @@ -7501,8 +6719,6 @@ class CountryHrv extends WorldCountry { codeNumeric: "191", codeShort: "HR", cioc: "CRO", - independent: true, - unMember: true, currencies: const [FiatEur()], idd: const Idd(root: 3, suffixes: [85]), altSpellings: const [ @@ -7516,15 +6732,10 @@ class CountryHrv extends WorldCountry { languages: const [LangHrv()], translations: hrvCountryTranslations, latLng: const LatLng(45.16666666, 15.5), - landlocked: false, bordersCodes: const ["Bih", "Hun", "Mne", "Srb", "Svn"], areaMetric: 56594, demonyms: const [ - Demonyms( - language: LangEng(), - female: "Croatian", - male: "Croatian", - ), + Demonyms(language: LangEng(), female: "Croatian", male: "Croatian"), Demonyms(language: LangFra(), female: "Croate", male: "Croate"), ], emoji: "🇭🇷", @@ -7537,8 +6748,6 @@ class CountryHrv extends WorldCountry { fifa: "CRO", car: const Car(sign: "HR"), timezones: const ["UTC+01:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Zagreb"), latLng: LatLng(45.8, 16), @@ -7580,8 +6789,6 @@ class CountryHti extends WorldCountry { codeNumeric: "332", codeShort: "HT", cioc: "HAI", - independent: true, - unMember: true, currencies: const [FiatHtg()], idd: const Idd(root: 50, suffixes: [9]), altSpellings: const [ @@ -7595,16 +6802,11 @@ class CountryHti extends WorldCountry { languages: const [LangFra(), LangHat()], translations: htiCountryTranslations, latLng: const LatLng(19, -72.41666666), - landlocked: false, bordersCodes: const ["Dom"], areaMetric: 27750, demonyms: const [ Demonyms(language: LangEng(), female: "Haitian", male: "Haitian"), - Demonyms( - language: LangFra(), - female: "Haïtienne", - male: "Haïtien", - ), + Demonyms(language: LangFra(), female: "Haïtienne", male: "Haïtien"), ], emoji: "🇭🇹", maps: const Maps( @@ -7616,8 +6818,6 @@ class CountryHti extends WorldCountry { fifa: "HAI", car: const Car(sign: "RH"), timezones: const ["UTC-05:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Port-au-Prince"), latLng: LatLng(18.53, -72.33), @@ -7654,8 +6854,6 @@ class CountryHun extends WorldCountry { codeNumeric: "348", codeShort: "HU", cioc: "HUN", - independent: true, - unMember: true, currencies: const [FiatHuf()], idd: const Idd(root: 3, suffixes: [6]), altSpellings: const ["HU"], @@ -7665,15 +6863,7 @@ class CountryHun extends WorldCountry { translations: hunCountryTranslations, latLng: const LatLng(47, 20), landlocked: true, - bordersCodes: const [ - "Aut", - "Hrv", - "Rou", - "Srb", - "Svk", - "Svn", - "Ukr", - ], + bordersCodes: const ["Aut", "Hrv", "Rou", "Srb", "Svk", "Svn", "Ukr"], areaMetric: 93028, demonyms: const [ Demonyms( @@ -7697,8 +6887,6 @@ class CountryHun extends WorldCountry { fifa: "HUN", car: const Car(sign: "H"), timezones: const ["UTC+01:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Budapest"), latLng: LatLng(47.5, 19.08), @@ -7733,8 +6921,6 @@ class CountryIdn extends WorldCountry { codeNumeric: "360", codeShort: "ID", cioc: "INA", - independent: true, - unMember: true, currencies: const [FiatIdr()], idd: const Idd(root: 6, suffixes: [2]), altSpellings: const [ @@ -7747,7 +6933,6 @@ class CountryIdn extends WorldCountry { languages: const [LangInd()], translations: idnCountryTranslations, latLng: const LatLng(-5, 120), - landlocked: false, bordersCodes: const ["Tls", "Mys", "Png"], areaMetric: 1904569, demonyms: const [ @@ -7772,8 +6957,6 @@ class CountryIdn extends WorldCountry { fifa: "IDN", car: const Car(sign: "RI", isRightSide: false), timezones: const ["UTC+07:00", "UTC+08:00", "UTC+09:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Jakarta"), latLng: LatLng(-6.17, 106.82), @@ -7811,7 +6994,6 @@ class CountryImn extends WorldCountry { code: "IMN", codeNumeric: "833", codeShort: "IM", - cioc: null, independent: false, unMember: false, currencies: const [FiatGbp()], @@ -7822,8 +7004,6 @@ class CountryImn extends WorldCountry { languages: const [LangEng(), LangGlv()], translations: imnCountryTranslations, latLng: const LatLng(54.25, -4.5), - landlocked: false, - bordersCodes: null, areaMetric: 572, demonyms: const [ Demonyms(language: LangEng(), female: "Manx", male: "Manx"), @@ -7834,12 +7014,8 @@ class CountryImn extends WorldCountry { openStreetMaps: "relation/62269", ), population: 85032, - gini: null, - fifa: null, car: const Car(sign: "GBM", isRightSide: false), timezones: const ["UTC+00:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Douglas"), latLng: LatLng(54.15, -4.48), @@ -7887,8 +7063,6 @@ class CountryInd extends WorldCountry { codeNumeric: "356", codeShort: "IN", cioc: "IND", - independent: true, - unMember: true, currencies: const [FiatInr()], idd: const Idd(root: 9, suffixes: [1]), altSpellings: const [ @@ -7903,7 +7077,6 @@ class CountryInd extends WorldCountry { languages: const [LangEng(), LangHin(), LangTam()], translations: indCountryTranslations, latLng: const LatLng(20, 77), - landlocked: false, bordersCodes: const ["Bgd", "Btn", "Mmr", "Chn", "Npl", "Pak"], areaMetric: 3287590, demonyms: const [ @@ -7920,8 +7093,6 @@ class CountryInd extends WorldCountry { fifa: "IND", car: const Car(sign: "IND", isRightSide: false), timezones: const ["UTC+05:30"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("New Delhi"), latLng: LatLng(28.6, 77.2), @@ -7955,7 +7126,6 @@ class CountryIot extends WorldCountry { code: "IOT", codeNumeric: "086", codeShort: "IO", - cioc: null, independent: false, unMember: false, currencies: const [FiatUsd()], @@ -7966,8 +7136,6 @@ class CountryIot extends WorldCountry { languages: const [LangEng()], translations: iotCountryTranslations, latLng: const LatLng(-6, 71.5), - landlocked: false, - bordersCodes: null, areaMetric: 60, demonyms: const [ Demonyms(language: LangEng(), female: "Indian", male: "Indian"), @@ -7978,17 +7146,13 @@ class CountryIot extends WorldCountry { openStreetMaps: "relation/1993867", ), population: 3000, - gini: null, - fifa: null, car: const Car(sign: "GB"), timezones: const ["UTC+06:00"], hasCoatOfArms: false, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Diego Garcia"), latLng: LatLng(-7.3, 72.4), ), - postalCode: null, regionalBlocs: const [BlocAU()], ); } @@ -8022,8 +7186,6 @@ class CountryIrl extends WorldCountry { codeNumeric: "372", codeShort: "IE", cioc: "IRL", - independent: true, - unMember: true, currencies: const [FiatEur()], idd: const Idd(root: 3, suffixes: [53]), altSpellings: const [ @@ -8037,7 +7199,6 @@ class CountryIrl extends WorldCountry { languages: const [LangEng(), LangGle()], translations: irlCountryTranslations, latLng: const LatLng(53, -8), - landlocked: false, bordersCodes: const ["Gbr"], areaMetric: 70273, demonyms: const [ @@ -8058,8 +7219,6 @@ class CountryIrl extends WorldCountry { fifa: "IRL", car: const Car(sign: "IRL", isRightSide: false), timezones: const ["UTC+00:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Dublin"), latLng: LatLng(53.32, -6.23), @@ -8097,8 +7256,6 @@ class CountryIrn extends WorldCountry { codeNumeric: "364", codeShort: "IR", cioc: "IRI", - independent: true, - unMember: true, currencies: const [FiatIrr()], idd: const Idd(root: 9, suffixes: [8]), altSpellings: const [ @@ -8112,24 +7269,11 @@ class CountryIrn extends WorldCountry { languages: const [LangFas()], translations: irnCountryTranslations, latLng: const LatLng(32, 53), - landlocked: false, - bordersCodes: const [ - "Afg", - "Arm", - "Aze", - "Irq", - "Pak", - "Tur", - "Tkm", - ], + bordersCodes: const ["Afg", "Arm", "Aze", "Irq", "Pak", "Tur", "Tkm"], areaMetric: 1648195, demonyms: const [ Demonyms(language: LangEng(), female: "Iranian", male: "Iranian"), - Demonyms( - language: LangFra(), - female: "Iranienne", - male: "Iranien", - ), + Demonyms(language: LangFra(), female: "Iranienne", male: "Iranien"), ], emoji: "🇮🇷", maps: const Maps( @@ -8141,7 +7285,6 @@ class CountryIrn extends WorldCountry { fifa: "IRN", car: const Car(sign: "IR"), timezones: const ["UTC+03:30"], - hasCoatOfArms: true, startOfWeek: Weekday.saturday, capitalInfo: const CapitalInfo( capital: Capital("Tehran"), @@ -8151,7 +7294,6 @@ class CountryIrn extends WorldCountry { format: "##########", regExpPattern: r"^(\d{10})$", ), - regionalBlocs: null, ); } @@ -8179,8 +7321,6 @@ class CountryIrq extends WorldCountry { codeNumeric: "368", codeShort: "IQ", cioc: "IRQ", - independent: true, - unMember: true, currencies: const [FiatIqd()], idd: const Idd(root: 9, suffixes: [64]), altSpellings: const [ @@ -8193,16 +7333,11 @@ class CountryIrq extends WorldCountry { languages: const [LangAra()], translations: irqCountryTranslations, latLng: const LatLng(33, 44), - landlocked: false, bordersCodes: const ["Irn", "Jor", "Kwt", "Sau", "Syr", "Tur"], areaMetric: 438317, demonyms: const [ Demonyms(language: LangEng(), female: "Iraqi", male: "Iraqi"), - Demonyms( - language: LangFra(), - female: "Irakienne", - male: "Irakien", - ), + Demonyms(language: LangFra(), female: "Irakienne", male: "Irakien"), ], emoji: "🇮🇶", maps: const Maps( @@ -8214,7 +7349,6 @@ class CountryIrq extends WorldCountry { fifa: "IRQ", car: const Car(sign: "IRQ"), timezones: const ["UTC+03:00"], - hasCoatOfArms: true, startOfWeek: Weekday.sunday, capitalInfo: const CapitalInfo( capital: Capital("Baghdad"), @@ -8249,8 +7383,6 @@ class CountryIsl extends WorldCountry { codeNumeric: "352", codeShort: "IS", cioc: "ISL", - independent: true, - unMember: true, currencies: const [FiatIsk()], idd: const Idd(root: 3, suffixes: [54]), altSpellings: const [ @@ -8264,8 +7396,6 @@ class CountryIsl extends WorldCountry { languages: const [LangIsl()], translations: islCountryTranslations, latLng: const LatLng(65, -18), - landlocked: false, - bordersCodes: null, areaMetric: 103000, demonyms: const [ Demonyms( @@ -8289,8 +7419,6 @@ class CountryIsl extends WorldCountry { fifa: "ISL", car: const Car(sign: "IS"), timezones: const ["UTC+00:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Reykjavik"), latLng: LatLng(64.15, -21.95), @@ -8330,8 +7458,6 @@ class CountryIsr extends WorldCountry { codeNumeric: "376", codeShort: "IL", cioc: "ISR", - independent: true, - unMember: true, currencies: const [FiatIls()], idd: const Idd(root: 9, suffixes: [72]), altSpellings: const ["IL", "State of Israel", "Medīnat Yisrā'el"], @@ -8340,7 +7466,6 @@ class CountryIsr extends WorldCountry { languages: const [LangAra(), LangHeb()], translations: isrCountryTranslations, latLng: const LatLng(31.47, 35.13), - landlocked: false, bordersCodes: const ["Egy", "Jor", "Lbn", "Pse", "Syr"], areaMetric: 20770, demonyms: const [ @@ -8361,14 +7486,12 @@ class CountryIsr extends WorldCountry { fifa: "ISR", car: const Car(sign: "IL"), timezones: const ["UTC+02:00"], - hasCoatOfArms: true, startOfWeek: Weekday.sunday, capitalInfo: const CapitalInfo( capital: Capital("Jerusalem"), latLng: LatLng(31.77, 35.23), ), postalCode: const PostalCode(), - regionalBlocs: null, ); } @@ -8396,30 +7519,19 @@ class CountryIta extends WorldCountry { codeNumeric: "380", codeShort: "IT", cioc: "ITA", - independent: true, - unMember: true, currencies: const [FiatEur()], idd: const Idd(root: 3, suffixes: [9]), - altSpellings: const [ - "IT", - "Italian Republic", - "Repubblica italiana", - ], + altSpellings: const ["IT", "Italian Republic", "Repubblica italiana"], continent: const Europe(), subregion: const SouthernEurope(), languages: const [LangIta()], translations: itaCountryTranslations, latLng: const LatLng(42.83333333, 12.83333333), - landlocked: false, bordersCodes: const ["Aut", "Fra", "Smr", "Svn", "Che", "Vat"], areaMetric: 301336, demonyms: const [ Demonyms(language: LangEng(), female: "Italian", male: "Italian"), - Demonyms( - language: LangFra(), - female: "Italienne", - male: "Italien", - ), + Demonyms(language: LangFra(), female: "Italienne", male: "Italien"), ], emoji: "🇮🇹", maps: const Maps( @@ -8431,8 +7543,6 @@ class CountryIta extends WorldCountry { fifa: "ITA", car: const Car(sign: "I"), timezones: const ["UTC+01:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Rome"), latLng: LatLng(41.9, 12.48), @@ -8466,8 +7576,6 @@ class CountryJam extends WorldCountry { codeNumeric: "388", codeShort: "JM", cioc: "JAM", - independent: true, - unMember: true, currencies: const [FiatJmd()], idd: const Idd(root: 1, suffixes: [658, 876]), altSpellings: const ["JM"], @@ -8476,15 +7584,9 @@ class CountryJam extends WorldCountry { languages: const [LangEng()], translations: jamCountryTranslations, latLng: const LatLng(18.25, -77.5), - landlocked: false, - bordersCodes: null, areaMetric: 10991, demonyms: const [ - Demonyms( - language: LangEng(), - female: "Jamaican", - male: "Jamaican", - ), + Demonyms(language: LangEng(), female: "Jamaican", male: "Jamaican"), Demonyms( language: LangFra(), female: "Jamaïcaine", @@ -8501,13 +7603,10 @@ class CountryJam extends WorldCountry { fifa: "JAM", car: const Car(sign: "JA", isRightSide: false), timezones: const ["UTC-05:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Kingston"), latLng: LatLng(17.99702, -76.79358), ), - postalCode: null, regionalBlocs: const [BlocCARICOM()], ); } @@ -8540,7 +7639,6 @@ class CountryJey extends WorldCountry { code: "JEY", codeNumeric: "832", codeShort: "JE", - cioc: null, independent: false, unMember: false, currencies: const [FiatGbp()], @@ -8556,8 +7654,6 @@ class CountryJey extends WorldCountry { languages: const [LangEng(), LangFra()], translations: jeyCountryTranslations, latLng: const LatLng(49.25, -2.16666666), - landlocked: false, - bordersCodes: null, areaMetric: 116, demonyms: const [ Demonyms( @@ -8577,12 +7673,8 @@ class CountryJey extends WorldCountry { openStreetMaps: "relation/367988", ), population: 100800, - gini: null, - fifa: null, car: const Car(sign: "GBJ", isRightSide: false), timezones: const ["UTC+01:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Saint Helier"), latLng: LatLng(49.18, -2.1), @@ -8592,7 +7684,6 @@ class CountryJey extends WorldCountry { regExpPattern: r"^(([A-Z]\d{2}[A-Z]{2})|([A-Z]\d{3}[A-Z]{2})|([A-Z]{2}\d{2}[A-Z]{2})|([A-Z]{2}\d{3}[A-Z]{2})|([A-Z]\d[A-Z]\d[A-Z]{2})|([A-Z]{2}\d[A-Z]\d[A-Z]{2})|(GIR0AA))$", ), - regionalBlocs: null, ); } @@ -8620,8 +7711,6 @@ class CountryJor extends WorldCountry { codeNumeric: "400", codeShort: "JO", cioc: "JOR", - independent: true, - unMember: true, currencies: const [FiatJod()], idd: const Idd(root: 9, suffixes: [62]), altSpellings: const [ @@ -8634,7 +7723,6 @@ class CountryJor extends WorldCountry { languages: const [LangAra()], translations: jorCountryTranslations, latLng: const LatLng(31, 36), - landlocked: false, bordersCodes: const ["Irq", "Isr", "Pse", "Sau", "Syr"], areaMetric: 89342, demonyms: const [ @@ -8659,7 +7747,6 @@ class CountryJor extends WorldCountry { fifa: "JOR", car: const Car(sign: "HKJ"), timezones: const ["UTC+03:00"], - hasCoatOfArms: true, startOfWeek: Weekday.sunday, capitalInfo: const CapitalInfo( capital: Capital("Amman"), @@ -8690,8 +7777,6 @@ class CountryJpn extends WorldCountry { codeNumeric: "392", codeShort: "JP", cioc: "JPN", - independent: true, - unMember: true, currencies: const [FiatJpy()], idd: const Idd(root: 8, suffixes: [1]), altSpellings: const ["JP", "Nippon", "Nihon"], @@ -8700,15 +7785,9 @@ class CountryJpn extends WorldCountry { languages: const [LangJpn()], translations: jpnCountryTranslations, latLng: const LatLng(36, 138), - landlocked: false, - bordersCodes: null, areaMetric: 377930, demonyms: const [ - Demonyms( - language: LangEng(), - female: "Japanese", - male: "Japanese", - ), + Demonyms(language: LangEng(), female: "Japanese", male: "Japanese"), Demonyms( language: LangFra(), female: "Japonaise", @@ -8725,17 +7804,12 @@ class CountryJpn extends WorldCountry { fifa: "JPN", car: const Car(sign: "J", isRightSide: false), timezones: const ["UTC+09:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Tokyo"), latLng: LatLng(35.68, 139.75), ), - postalCode: const PostalCode( - format: "###-####", - regExpPattern: r"^(\d{7})$", - ), - regionalBlocs: null, + postalCode: + const PostalCode(format: "###-####", regExpPattern: r"^(\d{7})$"), ); } @@ -8768,8 +7842,6 @@ class CountryKaz extends WorldCountry { codeNumeric: "398", codeShort: "KZ", cioc: "KAZ", - independent: true, - unMember: true, currencies: const [FiatKzt()], idd: const Idd(root: 7, suffixes: [6, 7]), altSpellings: const [ @@ -8812,8 +7884,6 @@ class CountryKaz extends WorldCountry { fifa: "KAZ", car: const Car(sign: "KZ"), timezones: const ["UTC+05:00", "UTC+06:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Nur-Sultan"), latLng: LatLng(51.16, 71.45), @@ -8853,8 +7923,6 @@ class CountryKen extends WorldCountry { codeNumeric: "404", codeShort: "KE", cioc: "KEN", - independent: true, - unMember: true, currencies: const [FiatKes()], idd: const Idd(root: 2, suffixes: [54]), altSpellings: const ["KE", "Republic of Kenya", "Jamhuri ya Kenya"], @@ -8863,7 +7931,6 @@ class CountryKen extends WorldCountry { languages: const [LangEng(), LangSwa()], translations: kenCountryTranslations, latLng: const LatLng(1, 38), - landlocked: false, bordersCodes: const ["Eth", "Som", "Ssd", "Tza", "Uga"], areaMetric: 580367, demonyms: const [ @@ -8880,8 +7947,6 @@ class CountryKen extends WorldCountry { fifa: "KEN", car: const Car(sign: "EAK", isRightSide: false), timezones: const ["UTC+03:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Nairobi"), latLng: LatLng(-1.28, 36.82), @@ -8920,8 +7985,6 @@ class CountryKgz extends WorldCountry { codeNumeric: "417", codeShort: "KG", cioc: "KGZ", - independent: true, - unMember: true, currencies: const [FiatKgs()], idd: const Idd(root: 9, suffixes: [96]), altSpellings: const [ @@ -8941,11 +8004,7 @@ class CountryKgz extends WorldCountry { areaMetric: 199951, demonyms: const [ Demonyms(language: LangEng(), female: "Kirghiz", male: "Kirghiz"), - Demonyms( - language: LangFra(), - female: "Kirghize", - male: "Kirghize", - ), + Demonyms(language: LangFra(), female: "Kirghize", male: "Kirghize"), ], emoji: "🇰🇬", maps: const Maps( @@ -8957,8 +8016,6 @@ class CountryKgz extends WorldCountry { fifa: "KGZ", car: const Car(sign: "KS"), timezones: const ["UTC+06:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Bishkek"), latLng: LatLng(42.87, 74.6), @@ -8993,8 +8050,6 @@ class CountryKhm extends WorldCountry { codeNumeric: "116", codeShort: "KH", cioc: "CAM", - independent: true, - unMember: true, currencies: const [FiatKhr(), FiatUsd()], idd: const Idd(root: 8, suffixes: [55]), altSpellings: const ["KH", "Kingdom of Cambodia"], @@ -9003,7 +8058,6 @@ class CountryKhm extends WorldCountry { languages: const [LangKhm()], translations: khmCountryTranslations, latLng: const LatLng(13, 105), - landlocked: false, bordersCodes: const ["Lao", "Tha", "Vnm"], areaMetric: 181035, demonyms: const [ @@ -9024,12 +8078,9 @@ class CountryKhm extends WorldCountry { openStreetMaps: "relation/49898", ), population: 16718971, - gini: null, fifa: "CAM", car: const Car(sign: "K"), timezones: const ["UTC+07:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Phnom Penh"), latLng: LatLng(11.55, 104.92), @@ -9063,8 +8114,6 @@ class CountryKir extends WorldCountry { codeNumeric: "296", codeShort: "KI", cioc: "KIR", - independent: true, - unMember: true, currencies: const [FiatAud()], idd: const Idd(root: 6, suffixes: [86]), altSpellings: const [ @@ -9077,8 +8126,6 @@ class CountryKir extends WorldCountry { languages: const [LangEng()], translations: kirCountryTranslations, latLng: const LatLng(1.41666666, 173), - landlocked: false, - bordersCodes: null, areaMetric: 811, demonyms: const [ Demonyms( @@ -9099,17 +8146,12 @@ class CountryKir extends WorldCountry { ), population: 119446, gini: const Gini(year: 2006, coefficient: 37), - fifa: null, car: const Car(sign: "KIR", isRightSide: false), timezones: const ["UTC+12:00", "UTC+13:00", "UTC+14:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("South Tarawa"), latLng: LatLng(1.33, 172.98), ), - postalCode: null, - regionalBlocs: null, ); } @@ -9137,8 +8179,6 @@ class CountryKna extends WorldCountry { codeNumeric: "659", codeShort: "KN", cioc: "SKN", - independent: true, - unMember: true, currencies: const [FiatXcd()], idd: const Idd(root: 1, suffixes: [869]), altSpellings: const [ @@ -9150,8 +8190,6 @@ class CountryKna extends WorldCountry { languages: const [LangEng()], translations: knaCountryTranslations, latLng: const LatLng(17.33333333, -62.75), - landlocked: false, - bordersCodes: null, areaMetric: 261, demonyms: const [ Demonyms( @@ -9171,17 +8209,13 @@ class CountryKna extends WorldCountry { openStreetMaps: "relation/536899", ), population: 53192, - gini: null, fifa: "SKN", car: const Car(sign: "KN", isRightSide: false), timezones: const ["UTC-04:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Basseterre"), latLng: LatLng(17.3, -62.72), ), - postalCode: null, regionalBlocs: const [BlocCARICOM()], ); } @@ -9206,8 +8240,6 @@ class CountryKor extends WorldCountry { codeNumeric: "410", codeShort: "KR", cioc: "KOR", - independent: true, - unMember: true, currencies: const [FiatKrw()], idd: const Idd(root: 8, suffixes: [2]), altSpellings: const [ @@ -9222,7 +8254,6 @@ class CountryKor extends WorldCountry { languages: const [LangKor()], translations: korCountryTranslations, latLng: const LatLng(37, 127.5), - landlocked: false, bordersCodes: const ["Prk"], areaMetric: 100210, demonyms: const [ @@ -9247,8 +8278,6 @@ class CountryKor extends WorldCountry { fifa: "KOR", car: const Car(sign: "ROK"), timezones: const ["UTC+09:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Seoul"), latLng: LatLng(37.55, 126.98), @@ -9257,7 +8286,6 @@ class CountryKor extends WorldCountry { format: "SEOUL ###-###", regExpPattern: r"^(?:SEOUL)*(\d{6})$", ), - regionalBlocs: null, ); } @@ -9285,8 +8313,6 @@ class CountryKwt extends WorldCountry { codeNumeric: "414", codeShort: "KW", cioc: "KUW", - independent: true, - unMember: true, currencies: const [FiatKwd()], idd: const Idd(root: 9, suffixes: [65]), altSpellings: const ["KW", "State of Kuwait", "Dawlat al-Kuwait"], @@ -9295,7 +8321,6 @@ class CountryKwt extends WorldCountry { languages: const [LangAra()], translations: kwtCountryTranslations, latLng: const LatLng(29.5, 45.75), - landlocked: false, bordersCodes: const ["Irq", "Sau"], areaMetric: 17818, demonyms: const [ @@ -9312,11 +8337,9 @@ class CountryKwt extends WorldCountry { openStreetMaps: "relation/305099", ), population: 4270563, - gini: null, fifa: "KUW", car: const Car(sign: "KWT"), timezones: const ["UTC+03:00"], - hasCoatOfArms: true, startOfWeek: Weekday.sunday, capitalInfo: const CapitalInfo( capital: Capital("Kuwait City"), @@ -9351,8 +8374,6 @@ class CountryLao extends WorldCountry { codeNumeric: "418", codeShort: "LA", cioc: "LAO", - independent: true, - unMember: true, currencies: const [FiatLak()], idd: const Idd(root: 8, suffixes: [56]), altSpellings: const [ @@ -9371,11 +8392,7 @@ class CountryLao extends WorldCountry { areaMetric: 236800, demonyms: const [ Demonyms(language: LangEng(), female: "Laotian", male: "Laotian"), - Demonyms( - language: LangFra(), - female: "Laotienne", - male: "Laotien", - ), + Demonyms(language: LangFra(), female: "Laotienne", male: "Laotien"), ], emoji: "🇱🇦", maps: const Maps( @@ -9387,8 +8404,6 @@ class CountryLao extends WorldCountry { fifa: "LAO", car: const Car(sign: "LAO"), timezones: const ["UTC+07:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Vientiane"), latLng: LatLng(17.97, 102.6), @@ -9427,8 +8442,6 @@ class CountryLbn extends WorldCountry { codeNumeric: "422", codeShort: "LB", cioc: "LBN", - independent: true, - unMember: true, currencies: const [FiatLbp()], idd: const Idd(root: 9, suffixes: [61]), altSpellings: const [ @@ -9441,15 +8454,10 @@ class CountryLbn extends WorldCountry { languages: const [LangAra(), LangFra()], translations: lbnCountryTranslations, latLng: const LatLng(33.83333333, 35.83333333), - landlocked: false, bordersCodes: const ["Isr", "Syr"], areaMetric: 10452, demonyms: const [ - Demonyms( - language: LangEng(), - female: "Lebanese", - male: "Lebanese", - ), + Demonyms(language: LangEng(), female: "Lebanese", male: "Lebanese"), Demonyms( language: LangFra(), female: "Libanaise", @@ -9466,8 +8474,6 @@ class CountryLbn extends WorldCountry { fifa: "LBN", car: const Car(sign: "RL"), timezones: const ["UTC+02:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Beirut"), latLng: LatLng(33.87, 35.5), @@ -9504,8 +8510,6 @@ class CountryLbr extends WorldCountry { codeNumeric: "430", codeShort: "LR", cioc: "LBR", - independent: true, - unMember: true, currencies: const [FiatLrd()], idd: const Idd(root: 2, suffixes: [31]), altSpellings: const ["LR", "Republic of Liberia"], @@ -9514,15 +8518,10 @@ class CountryLbr extends WorldCountry { languages: const [LangEng()], translations: lbrCountryTranslations, latLng: const LatLng(6.5, -9.5), - landlocked: false, bordersCodes: const ["Gin", "Civ", "Sle"], areaMetric: 111369, demonyms: const [ - Demonyms( - language: LangEng(), - female: "Liberian", - male: "Liberian", - ), + Demonyms(language: LangEng(), female: "Liberian", male: "Liberian"), Demonyms( language: LangFra(), female: "Libérienne", @@ -9539,8 +8538,6 @@ class CountryLbr extends WorldCountry { fifa: "LBR", car: const Car(sign: "LB"), timezones: const ["UTC+00:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Monrovia"), latLng: LatLng(6.3, -10.8), @@ -9575,8 +8572,6 @@ class CountryLby extends WorldCountry { codeNumeric: "434", codeShort: "LY", cioc: "LBA", - independent: true, - unMember: true, currencies: const [FiatLyd()], idd: const Idd(root: 2, suffixes: [18]), altSpellings: const ["LY", "State of Libya", "Dawlat Libya"], @@ -9585,7 +8580,6 @@ class CountryLby extends WorldCountry { languages: const [LangAra()], translations: lbyCountryTranslations, latLng: const LatLng(25, 17), - landlocked: false, bordersCodes: const ["Dza", "Tcd", "Egy", "Ner", "Sdn", "Tun"], areaMetric: 1759540, demonyms: const [ @@ -9598,18 +8592,14 @@ class CountryLby extends WorldCountry { openStreetMaps: "relation/192758", ), population: 6871287, - gini: null, fifa: "LBY", car: const Car(sign: "LAR"), timezones: const ["UTC+01:00"], - hasCoatOfArms: true, startOfWeek: Weekday.sunday, capitalInfo: const CapitalInfo( capital: Capital("Tripoli"), latLng: LatLng(32.88, 13.17), ), - postalCode: null, - regionalBlocs: null, ); } @@ -9637,8 +8627,6 @@ class CountryLca extends WorldCountry { codeNumeric: "662", codeShort: "LC", cioc: "LCA", - independent: true, - unMember: true, currencies: const [FiatXcd()], idd: const Idd(root: 1, suffixes: [758]), altSpellings: const ["LC"], @@ -9647,8 +8635,6 @@ class CountryLca extends WorldCountry { languages: const [LangEng()], translations: lcaCountryTranslations, latLng: const LatLng(13.88333333, -60.96666666), - landlocked: false, - bordersCodes: null, areaMetric: 616, demonyms: const [ Demonyms( @@ -9672,13 +8658,10 @@ class CountryLca extends WorldCountry { fifa: "LCA", car: const Car(sign: "WL", isRightSide: false), timezones: const ["UTC-04:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Castries"), latLng: LatLng(14, -61), ), - postalCode: null, regionalBlocs: const [BlocCARICOM()], ); } @@ -9707,8 +8690,6 @@ class CountryLie extends WorldCountry { codeNumeric: "438", codeShort: "LI", cioc: "LIE", - independent: true, - unMember: true, currencies: const [FiatChf()], idd: const Idd(root: 4, suffixes: [23]), altSpellings: const [ @@ -9742,12 +8723,9 @@ class CountryLie extends WorldCountry { openStreetMaps: "relation/1155955", ), population: 38137, - gini: null, fifa: "LIE", car: const Car(sign: "FL"), timezones: const ["UTC+01:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Vaduz"), latLng: LatLng(47.13, 9.52), @@ -9787,8 +8765,6 @@ class CountryLka extends WorldCountry { codeNumeric: "144", codeShort: "LK", cioc: "SRI", - independent: true, - unMember: true, currencies: const [FiatLkr()], idd: const Idd(root: 9, suffixes: [4]), altSpellings: const [ @@ -9801,7 +8777,6 @@ class CountryLka extends WorldCountry { languages: const [LangSin(), LangTam()], translations: lkaCountryTranslations, latLng: const LatLng(7, 81), - landlocked: false, bordersCodes: const ["Ind"], areaMetric: 65610, demonyms: const [ @@ -9826,8 +8801,6 @@ class CountryLka extends WorldCountry { fifa: "SRI", car: const Car(sign: "CL", isRightSide: false), timezones: const ["UTC+05:30"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Sri Jayawardenepura Kotte"), latLng: LatLng(6.89, 79.9), @@ -9866,8 +8839,6 @@ class CountryLso extends WorldCountry { codeNumeric: "426", codeShort: "LS", cioc: "LES", - independent: true, - unMember: true, currencies: const [FiatLsl(), FiatZar()], idd: const Idd(root: 2, suffixes: [66]), altSpellings: const ["LS", "Kingdom of Lesotho", "Muso oa Lesotho"], @@ -9897,8 +8868,6 @@ class CountryLso extends WorldCountry { fifa: "LES", car: const Car(sign: "LS", isRightSide: false), timezones: const ["UTC+02:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Maseru"), latLng: LatLng(-29.32, 27.48), @@ -9933,8 +8902,6 @@ class CountryLtu extends WorldCountry { codeNumeric: "440", codeShort: "LT", cioc: "LTU", - independent: true, - unMember: true, currencies: const [FiatEur()], idd: const Idd(root: 3, suffixes: [70]), altSpellings: const [ @@ -9947,7 +8914,6 @@ class CountryLtu extends WorldCountry { languages: const [LangLit()], translations: ltuCountryTranslations, latLng: const LatLng(56, 24), - landlocked: false, bordersCodes: const ["Blr", "Lva", "Pol", "Rus"], areaMetric: 65300, demonyms: const [ @@ -9972,8 +8938,6 @@ class CountryLtu extends WorldCountry { fifa: "LTU", car: const Car(sign: "LT"), timezones: const ["UTC+02:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Vilnius"), latLng: LatLng(54.68, 25.32), @@ -10020,8 +8984,6 @@ class CountryLux extends WorldCountry { codeNumeric: "442", codeShort: "LU", cioc: "LUX", - independent: true, - unMember: true, currencies: const [FiatEur()], idd: const Idd(root: 3, suffixes: [52]), altSpellings: const [ @@ -10061,8 +9023,6 @@ class CountryLux extends WorldCountry { fifa: "LUX", car: const Car(sign: "L"), timezones: const ["UTC+01:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Luxembourg"), latLng: LatLng(49.6, 6.12), @@ -10097,8 +9057,6 @@ class CountryLva extends WorldCountry { codeNumeric: "428", codeShort: "LV", cioc: "LAT", - independent: true, - unMember: true, currencies: const [FiatEur()], idd: const Idd(root: 3, suffixes: [71]), altSpellings: const [ @@ -10111,7 +9069,6 @@ class CountryLva extends WorldCountry { languages: const [LangLav()], translations: lvaCountryTranslations, latLng: const LatLng(57, 25), - landlocked: false, bordersCodes: const ["Blr", "Est", "Ltu", "Rus"], areaMetric: 64559, demonyms: const [ @@ -10128,8 +9085,6 @@ class CountryLva extends WorldCountry { fifa: "LVA", car: const Car(sign: "LV"), timezones: const ["UTC+02:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Riga"), latLng: LatLng(56.95, 24.1), @@ -10172,7 +9127,6 @@ class CountryMac extends WorldCountry { code: "MAC", codeNumeric: "446", codeShort: "MO", - cioc: null, independent: false, unMember: false, currencies: const [FiatMop()], @@ -10190,15 +9144,10 @@ class CountryMac extends WorldCountry { languages: const [LangPor(), LangZho()], translations: macCountryTranslations, latLng: const LatLng(22.16666666, 113.55), - landlocked: false, bordersCodes: const ["Chn"], areaMetric: 30, demonyms: const [ - Demonyms( - language: LangEng(), - female: "Macanese", - male: "Macanese", - ), + Demonyms(language: LangEng(), female: "Macanese", male: "Macanese"), Demonyms( language: LangFra(), female: "Macanaise", @@ -10211,15 +9160,9 @@ class CountryMac extends WorldCountry { openStreetMaps: "relation/1867188", ), population: 649342, - gini: null, fifa: "MAC", car: const Car(sign: "MO", isRightSide: false), timezones: const ["UTC+08:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, - capitalInfo: null, - postalCode: null, - regionalBlocs: null, ); } @@ -10246,7 +9189,6 @@ class CountryMaf extends WorldCountry { code: "MAF", codeNumeric: "663", codeShort: "MF", - cioc: null, independent: false, unMember: false, currencies: const [FiatEur()], @@ -10262,7 +9204,6 @@ class CountryMaf extends WorldCountry { languages: const [LangFra()], translations: mafCountryTranslations, latLng: const LatLng(18.0708, 63.0501), - landlocked: false, bordersCodes: const ["Sxm"], areaMetric: 53, demonyms: const [ @@ -10283,18 +9224,14 @@ class CountryMaf extends WorldCountry { openStreetMaps: "relation/63064", ), population: 38659, - gini: null, - fifa: null, car: const Car(sign: "F"), timezones: const ["UTC-04:00"], hasCoatOfArms: false, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Marigot"), latLng: LatLng(18.07, -63.08), ), postalCode: const PostalCode(), - regionalBlocs: null, ); } @@ -10322,8 +9259,6 @@ class CountryMar extends WorldCountry { codeNumeric: "504", codeShort: "MA", cioc: "MAR", - independent: true, - unMember: true, currencies: const [FiatMad()], idd: const Idd(root: 2, suffixes: [12]), altSpellings: const [ @@ -10336,15 +9271,10 @@ class CountryMar extends WorldCountry { languages: const [LangAra()], translations: marCountryTranslations, latLng: const LatLng(32, -5), - landlocked: false, bordersCodes: const ["Dza", "Esh", "Esp"], areaMetric: 446550, demonyms: const [ - Demonyms( - language: LangEng(), - female: "Moroccan", - male: "Moroccan", - ), + Demonyms(language: LangEng(), female: "Moroccan", male: "Moroccan"), Demonyms( language: LangFra(), female: "Marocaine", @@ -10361,8 +9291,6 @@ class CountryMar extends WorldCountry { fifa: "MAR", car: const Car(sign: "MA"), timezones: const ["UTC+00:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Rabat"), latLng: LatLng(34.02, -6.82), @@ -10396,8 +9324,6 @@ class CountryMco extends WorldCountry { codeNumeric: "492", codeShort: "MC", cioc: "MON", - independent: true, - unMember: true, currencies: const [FiatEur()], idd: const Idd(root: 3, suffixes: [77]), altSpellings: const [ @@ -10410,7 +9336,6 @@ class CountryMco extends WorldCountry { languages: const [LangFra()], translations: mcoCountryTranslations, latLng: const LatLng(43.73333333, 7.4), - landlocked: false, bordersCodes: const ["Fra"], areaMetric: 2.02, demonyms: const [ @@ -10431,18 +9356,13 @@ class CountryMco extends WorldCountry { openStreetMaps: "relation/1124039", ), population: 39244, - gini: null, - fifa: null, car: const Car(sign: "MC"), timezones: const ["UTC+01:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Monaco"), latLng: LatLng(43.73, 7.42), ), postalCode: const PostalCode(), - regionalBlocs: null, ); } @@ -10470,8 +9390,6 @@ class CountryMda extends WorldCountry { codeNumeric: "498", codeShort: "MD", cioc: "MDA", - independent: true, - unMember: true, currencies: const [FiatMdl()], idd: const Idd(root: 3, suffixes: [73]), altSpellings: const [ @@ -10489,11 +9407,7 @@ class CountryMda extends WorldCountry { bordersCodes: const ["Rou", "Ukr"], areaMetric: 33846, demonyms: const [ - Demonyms( - language: LangEng(), - female: "Moldovan", - male: "Moldovan", - ), + Demonyms(language: LangEng(), female: "Moldovan", male: "Moldovan"), Demonyms(language: LangFra(), female: "Moldave", male: "Moldave"), ], emoji: "🇲🇩", @@ -10506,8 +9420,6 @@ class CountryMda extends WorldCountry { fifa: "MDA", car: const Car(sign: "MD"), timezones: const ["UTC+02:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Chișinău"), latLng: LatLng(47.01, 28.9), @@ -10549,8 +9461,6 @@ class CountryMdg extends WorldCountry { codeNumeric: "450", codeShort: "MG", cioc: "MAD", - independent: true, - unMember: true, currencies: const [FiatMga()], idd: const Idd(root: 2, suffixes: [61]), altSpellings: const [ @@ -10564,20 +9474,10 @@ class CountryMdg extends WorldCountry { languages: const [LangFra(), LangMlg()], translations: mdgCountryTranslations, latLng: const LatLng(-20, 47), - landlocked: false, - bordersCodes: null, areaMetric: 587041, demonyms: const [ - Demonyms( - language: LangEng(), - female: "Malagasy", - male: "Malagasy", - ), - Demonyms( - language: LangFra(), - female: "Malgache", - male: "Malgache", - ), + Demonyms(language: LangEng(), female: "Malagasy", male: "Malagasy"), + Demonyms(language: LangFra(), female: "Malgache", male: "Malgache"), ], emoji: "🇲🇬", maps: const Maps( @@ -10589,8 +9489,6 @@ class CountryMdg extends WorldCountry { fifa: "MAD", car: const Car(sign: "RM"), timezones: const ["UTC+03:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Antananarivo"), latLng: LatLng(-18.92, 47.52), @@ -10625,8 +9523,6 @@ class CountryMdv extends WorldCountry { codeNumeric: "462", codeShort: "MV", cioc: "MDV", - independent: true, - unMember: true, currencies: const [FiatMvr()], idd: const Idd(root: 9, suffixes: [60]), altSpellings: const [ @@ -10640,15 +9536,9 @@ class CountryMdv extends WorldCountry { languages: const [LangDiv()], translations: mdvCountryTranslations, latLng: const LatLng(3.25, 73), - landlocked: false, - bordersCodes: null, areaMetric: 300, demonyms: const [ - Demonyms( - language: LangEng(), - female: "Maldivan", - male: "Maldivan", - ), + Demonyms(language: LangEng(), female: "Maldivan", male: "Maldivan"), Demonyms( language: LangFra(), female: "Maldivienne", @@ -10665,7 +9555,6 @@ class CountryMdv extends WorldCountry { fifa: "MDV", car: const Car(sign: "MV", isRightSide: false), timezones: const ["UTC+05:00"], - hasCoatOfArms: true, startOfWeek: Weekday.sunday, capitalInfo: const CapitalInfo( capital: Capital("Malé"), @@ -10700,8 +9589,6 @@ class CountryMex extends WorldCountry { codeNumeric: "484", codeShort: "MX", cioc: "MEX", - independent: true, - unMember: true, currencies: const [FiatMxn()], idd: const Idd(root: 5, suffixes: [2]), altSpellings: const [ @@ -10715,7 +9602,6 @@ class CountryMex extends WorldCountry { languages: const [LangSpa()], translations: mexCountryTranslations, latLng: const LatLng(23, -102), - landlocked: false, bordersCodes: const ["Blz", "Gtm", "Usa"], areaMetric: 1964375, demonyms: const [ @@ -10736,8 +9622,6 @@ class CountryMex extends WorldCountry { fifa: "MEX", car: const Car(sign: "MEX"), timezones: const ["UTC-08:00", "UTC-07:00", "UTC-06:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Mexico City"), latLng: LatLng(19.43, -99.13), @@ -10776,8 +9660,6 @@ class CountryMhl extends WorldCountry { codeNumeric: "584", codeShort: "MH", cioc: "MHL", - independent: true, - unMember: true, currencies: const [FiatUsd()], idd: const Idd(root: 6, suffixes: [92]), altSpellings: const [ @@ -10790,8 +9672,6 @@ class CountryMhl extends WorldCountry { languages: const [LangEng(), LangMah()], translations: mhlCountryTranslations, latLng: const LatLng(9, 168), - landlocked: false, - bordersCodes: null, areaMetric: 181, demonyms: const [ Demonyms( @@ -10811,18 +9691,12 @@ class CountryMhl extends WorldCountry { openStreetMaps: "relation/571771", ), population: 59194, - gini: null, - fifa: null, car: const Car(sign: "MH"), timezones: const ["UTC+12:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Majuro"), latLng: LatLng(7.1, 171.38), ), - postalCode: null, - regionalBlocs: null, ); } @@ -10850,8 +9724,6 @@ class CountryMkd extends WorldCountry { codeNumeric: "807", codeShort: "MK", cioc: "MKD", - independent: true, - unMember: true, currencies: const [FiatMkd()], idd: const Idd(root: 3, suffixes: [89]), altSpellings: const [ @@ -10891,8 +9763,6 @@ class CountryMkd extends WorldCountry { fifa: "MKD", car: const Car(sign: "MK"), timezones: const ["UTC+01:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Skopje"), latLng: LatLng(42, 21.43), @@ -10927,30 +9797,16 @@ class CountryMli extends WorldCountry { codeNumeric: "466", codeShort: "ML", cioc: "MLI", - independent: true, - unMember: true, currencies: const [FiatXof()], idd: const Idd(root: 2, suffixes: [23]), - altSpellings: const [ - "ML", - "Republic of Mali", - "République du Mali", - ], + altSpellings: const ["ML", "Republic of Mali", "République du Mali"], continent: const Africa(), subregion: const WesternAfrica(), languages: const [LangFra()], translations: mliCountryTranslations, latLng: const LatLng(17, -4), landlocked: true, - bordersCodes: const [ - "Dza", - "Bfa", - "Gin", - "Civ", - "Mrt", - "Ner", - "Sen", - ], + bordersCodes: const ["Dza", "Bfa", "Gin", "Civ", "Mrt", "Ner", "Sen"], areaMetric: 1240192, demonyms: const [ Demonyms(language: LangEng(), female: "Malian", male: "Malian"), @@ -10966,13 +9822,10 @@ class CountryMli extends WorldCountry { fifa: "MLI", car: const Car(sign: "RMM"), timezones: const ["UTC+00:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Bamako"), latLng: LatLng(12.65, -8), ), - postalCode: null, regionalBlocs: const [BlocAU()], ); } @@ -11006,8 +9859,6 @@ class CountryMlt extends WorldCountry { codeNumeric: "470", codeShort: "MT", cioc: "MLT", - independent: true, - unMember: true, currencies: const [FiatEur()], idd: const Idd(root: 3, suffixes: [56]), altSpellings: const [ @@ -11020,8 +9871,6 @@ class CountryMlt extends WorldCountry { languages: const [LangEng(), LangMlt()], translations: mltCountryTranslations, latLng: const LatLng(35.9375, 14.3754), - landlocked: false, - bordersCodes: null, areaMetric: 316, demonyms: const [ Demonyms(language: LangEng(), female: "Maltese", male: "Maltese"), @@ -11037,8 +9886,6 @@ class CountryMlt extends WorldCountry { fifa: "MLT", car: const Car(sign: "M", isRightSide: false), timezones: const ["UTC+01:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Valletta"), latLng: LatLng(35.88, 14.5), @@ -11075,8 +9922,6 @@ class CountryMmr extends WorldCountry { codeNumeric: "104", codeShort: "MM", cioc: "MYA", - independent: true, - unMember: true, currencies: const [FiatMmk()], idd: const Idd(root: 9, suffixes: [5]), altSpellings: const [ @@ -11090,7 +9935,6 @@ class CountryMmr extends WorldCountry { languages: const [LangMya()], translations: mmrCountryTranslations, latLng: const LatLng(22, 98), - landlocked: false, bordersCodes: const ["Bgd", "Chn", "Ind", "Lao", "Tha"], areaMetric: 676578, demonyms: const [ @@ -11107,8 +9951,6 @@ class CountryMmr extends WorldCountry { fifa: "MYA", car: const Car(sign: "BUR"), timezones: const ["UTC+06:30"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Naypyidaw"), latLng: LatLng(19.76, 96.07), @@ -11142,8 +9984,6 @@ class CountryMne extends WorldCountry { codeNumeric: "499", codeShort: "ME", cioc: "MNE", - independent: true, - unMember: true, currencies: const [FiatEur()], idd: const Idd(root: 3, suffixes: [82]), altSpellings: const ["ME", "Crna Gora"], @@ -11152,7 +9992,6 @@ class CountryMne extends WorldCountry { languages: const [LangSrp()], translations: mneCountryTranslations, latLng: const LatLng(42.5, 19.3), - landlocked: false, bordersCodes: const ["Alb", "Bih", "Hrv", "Srb", "Unk"], areaMetric: 13812, demonyms: const [ @@ -11177,8 +10016,6 @@ class CountryMne extends WorldCountry { fifa: "MNE", car: const Car(sign: "SCG"), timezones: const ["UTC+01:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Podgorica"), latLng: LatLng(42.43, 19.27), @@ -11212,8 +10049,6 @@ class CountryMng extends WorldCountry { codeNumeric: "496", codeShort: "MN", cioc: "MGL", - independent: true, - unMember: true, currencies: const [FiatMnt()], idd: const Idd(root: 9, suffixes: [76]), altSpellings: const ["MN"], @@ -11243,15 +10078,12 @@ class CountryMng extends WorldCountry { fifa: "MNG", car: const Car(sign: "MGL"), timezones: const ["UTC+07:00", "UTC+08:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Ulan Bator"), latLng: LatLng(47.92, 106.91), ), postalCode: const PostalCode(format: "######", regExpPattern: r"^(\d{6})$"), - regionalBlocs: null, ); } @@ -11283,7 +10115,6 @@ class CountryMnp extends WorldCountry { code: "MNP", codeNumeric: "580", codeShort: "MP", - cioc: null, independent: false, unMember: false, currencies: const [FiatUsd()], @@ -11298,15 +10129,9 @@ class CountryMnp extends WorldCountry { languages: const [LangCha(), LangEng()], translations: mnpCountryTranslations, latLng: const LatLng(15.2, 145.75), - landlocked: false, - bordersCodes: null, areaMetric: 464, demonyms: const [ - Demonyms( - language: LangEng(), - female: "American", - male: "American", - ), + Demonyms(language: LangEng(), female: "American", male: "American"), Demonyms( language: LangFra(), female: "Américaine", @@ -11319,18 +10144,13 @@ class CountryMnp extends WorldCountry { openStreetMaps: "relation/306004", ), population: 57557, - gini: null, - fifa: null, car: const Car(sign: "USA"), timezones: const ["UTC+10:00"], hasCoatOfArms: false, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Saipan"), latLng: LatLng(15.2, 145.75), ), - postalCode: null, - regionalBlocs: null, ); } @@ -11358,8 +10178,6 @@ class CountryMoz extends WorldCountry { codeNumeric: "508", codeShort: "MZ", cioc: "MOZ", - independent: true, - unMember: true, currencies: const [FiatMzn()], idd: const Idd(root: 2, suffixes: [58]), altSpellings: const [ @@ -11372,7 +10190,6 @@ class CountryMoz extends WorldCountry { languages: const [LangPor()], translations: mozCountryTranslations, latLng: const LatLng(-18.25, 35), - landlocked: false, bordersCodes: const ["Mwi", "Zaf", "Swz", "Tza", "Zmb", "Zwe"], areaMetric: 801590, demonyms: const [ @@ -11397,8 +10214,6 @@ class CountryMoz extends WorldCountry { fifa: "MOZ", car: const Car(sign: "MOC", isRightSide: false), timezones: const ["UTC+02:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Maputo"), latLng: LatLng(-25.95, 32.58), @@ -11433,8 +10248,6 @@ class CountryMrt extends WorldCountry { codeNumeric: "478", codeShort: "MR", cioc: "MTN", - independent: true, - unMember: true, currencies: const [FiatMru()], idd: const Idd(root: 2, suffixes: [22]), altSpellings: const [ @@ -11447,7 +10260,6 @@ class CountryMrt extends WorldCountry { languages: const [LangAra()], translations: mrtCountryTranslations, latLng: const LatLng(20, -12), - landlocked: false, bordersCodes: const ["Dza", "Mli", "Sen", "Esh"], areaMetric: 1030700, demonyms: const [ @@ -11472,13 +10284,10 @@ class CountryMrt extends WorldCountry { fifa: "MTN", car: const Car(sign: "RIM"), timezones: const ["UTC+00:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Nouakchott"), latLng: LatLng(18.07, -15.97), ), - postalCode: null, regionalBlocs: const [BlocAU(), BlocAL()], ); } @@ -11506,7 +10315,6 @@ class CountryMsr extends WorldCountry { code: "MSR", codeNumeric: "500", codeShort: "MS", - cioc: null, independent: false, unMember: false, currencies: const [FiatXcd()], @@ -11517,8 +10325,6 @@ class CountryMsr extends WorldCountry { languages: const [LangEng()], translations: msrCountryTranslations, latLng: const LatLng(16.75, -62.2), - landlocked: false, - bordersCodes: null, areaMetric: 102, demonyms: const [ Demonyms( @@ -11538,17 +10344,13 @@ class CountryMsr extends WorldCountry { openStreetMaps: "relation/537257", ), population: 4922, - gini: null, fifa: "MSR", car: const Car(sign: "GB", isRightSide: false), timezones: const ["UTC-04:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Plymouth"), latLng: LatLng(16.7, -62.22), ), - postalCode: null, regionalBlocs: const [BlocCARICOM()], ); } @@ -11576,7 +10378,6 @@ class CountryMtq extends WorldCountry { code: "MTQ", codeNumeric: "474", codeShort: "MQ", - cioc: null, independent: false, unMember: false, currencies: const [FiatEur()], @@ -11587,8 +10388,6 @@ class CountryMtq extends WorldCountry { languages: const [LangFra()], translations: mtqCountryTranslations, latLng: const LatLng(14.666667, -61), - landlocked: false, - bordersCodes: null, areaMetric: 1128, demonyms: const [ Demonyms( @@ -11608,18 +10407,13 @@ class CountryMtq extends WorldCountry { openStreetMaps: "relation/2473088", ), population: 378243, - gini: null, - fifa: null, car: const Car(sign: "F"), timezones: const ["UTC-04:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Fort-de-France"), latLng: LatLng(14.6, -61.08), ), postalCode: const PostalCode(), - regionalBlocs: null, ); } @@ -11652,8 +10446,6 @@ class CountryMus extends WorldCountry { codeNumeric: "480", codeShort: "MU", cioc: "MRI", - independent: true, - unMember: true, currencies: const [FiatMur()], idd: const Idd(root: 2, suffixes: [30]), altSpellings: const [ @@ -11666,8 +10458,6 @@ class CountryMus extends WorldCountry { languages: const [LangEng(), LangFra()], translations: musCountryTranslations, latLng: const LatLng(-20.28333333, 57.55), - landlocked: false, - bordersCodes: null, areaMetric: 2040, demonyms: const [ Demonyms( @@ -11691,13 +10481,10 @@ class CountryMus extends WorldCountry { fifa: "MRI", car: const Car(sign: "MS", isRightSide: false), timezones: const ["UTC+04:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Port Louis"), latLng: LatLng(-20.15, 57.48), ), - postalCode: null, regionalBlocs: const [BlocAU()], ); } @@ -11731,8 +10518,6 @@ class CountryMwi extends WorldCountry { codeNumeric: "454", codeShort: "MW", cioc: "MAW", - independent: true, - unMember: true, currencies: const [FiatMwk()], idd: const Idd(root: 2, suffixes: [65]), altSpellings: const ["MW", "Republic of Malawi"], @@ -11745,11 +10530,7 @@ class CountryMwi extends WorldCountry { bordersCodes: const ["Moz", "Tza", "Zmb"], areaMetric: 118484, demonyms: const [ - Demonyms( - language: LangEng(), - female: "Malawian", - male: "Malawian", - ), + Demonyms(language: LangEng(), female: "Malawian", male: "Malawian"), Demonyms( language: LangFra(), female: "Malawienne", @@ -11766,13 +10547,10 @@ class CountryMwi extends WorldCountry { fifa: "MWI", car: const Car(sign: "MW", isRightSide: false), timezones: const ["UTC+02:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Lilongwe"), latLng: LatLng(-13.97, 33.78), ), - postalCode: null, regionalBlocs: const [BlocAU()], ); } @@ -11806,8 +10584,6 @@ class CountryMys extends WorldCountry { codeNumeric: "458", codeShort: "MY", cioc: "MAS", - independent: true, - unMember: true, currencies: const [FiatMyr()], idd: const Idd(root: 6, suffixes: [0]), altSpellings: const ["MY"], @@ -11816,7 +10592,6 @@ class CountryMys extends WorldCountry { languages: const [LangEng(), LangMsa()], translations: mysCountryTranslations, latLng: const LatLng(2.5, 112.5), - landlocked: false, bordersCodes: const ["Brn", "Idn", "Tha"], areaMetric: 330803, demonyms: const [ @@ -11841,7 +10616,6 @@ class CountryMys extends WorldCountry { fifa: "MAS", car: const Car(sign: "MAL", isRightSide: false), timezones: const ["UTC+08:00"], - hasCoatOfArms: true, startOfWeek: Weekday.sunday, capitalInfo: const CapitalInfo( capital: Capital("Kuala Lumpur"), @@ -11875,7 +10649,6 @@ class CountryMyt extends WorldCountry { code: "MYT", codeNumeric: "175", codeShort: "YT", - cioc: null, independent: false, unMember: false, currencies: const [FiatEur()], @@ -11890,8 +10663,6 @@ class CountryMyt extends WorldCountry { languages: const [LangFra()], translations: mytCountryTranslations, latLng: const LatLng(-12.83333333, 45.16666666), - landlocked: false, - bordersCodes: null, areaMetric: 374, demonyms: const [ Demonyms(language: LangEng(), female: "Mahoran", male: "Mahoran"), @@ -11907,12 +10678,9 @@ class CountryMyt extends WorldCountry { openStreetMaps: "relation/1259885", ), population: 226915, - gini: null, - fifa: null, car: const Car(sign: "F"), timezones: const ["UTC+03:00"], hasCoatOfArms: false, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Mamoudzou"), latLng: LatLng(-12.78, 45.22), @@ -11966,8 +10734,6 @@ class CountryNam extends WorldCountry { codeNumeric: "516", codeShort: "NA", cioc: "NAM", - independent: true, - unMember: true, currencies: const [FiatNad(), FiatZar()], idd: const Idd(root: 2, suffixes: [64]), altSpellings: const ["NA", "Namibië", "Republic of Namibia"], @@ -11983,15 +10749,10 @@ class CountryNam extends WorldCountry { ], translations: namCountryTranslations, latLng: const LatLng(-22, 17), - landlocked: false, bordersCodes: const ["Ago", "Bwa", "Zaf", "Tur"], areaMetric: 825615, demonyms: const [ - Demonyms( - language: LangEng(), - female: "Namibian", - male: "Namibian", - ), + Demonyms(language: LangEng(), female: "Namibian", male: "Namibian"), Demonyms( language: LangFra(), female: "Namibienne", @@ -12008,13 +10769,10 @@ class CountryNam extends WorldCountry { fifa: "NAM", car: const Car(sign: "NAM", isRightSide: false), timezones: const ["UTC+01:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Windhoek"), latLng: LatLng(-22.57, 17.08), ), - postalCode: null, regionalBlocs: const [BlocAU()], ); } @@ -12042,7 +10800,6 @@ class CountryNcl extends WorldCountry { code: "NCL", codeNumeric: "540", codeShort: "NC", - cioc: null, independent: false, unMember: false, currencies: const [FiatXpf()], @@ -12053,8 +10810,6 @@ class CountryNcl extends WorldCountry { languages: const [LangFra()], translations: nclCountryTranslations, latLng: const LatLng(-21.5, 165.5), - landlocked: false, - bordersCodes: null, areaMetric: 18575, demonyms: const [ Demonyms( @@ -12074,18 +10829,14 @@ class CountryNcl extends WorldCountry { openStreetMaps: "relation/3407643", ), population: 271960, - gini: null, fifa: "NCL", car: const Car(sign: "F"), timezones: const ["UTC+11:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Nouméa"), latLng: LatLng(-22.27, 166.45), ), postalCode: const PostalCode(), - regionalBlocs: null, ); } @@ -12113,8 +10864,6 @@ class CountryNer extends WorldCountry { codeNumeric: "562", codeShort: "NE", cioc: "NIG", - independent: true, - unMember: true, currencies: const [FiatXof()], idd: const Idd(root: 2, suffixes: [27]), altSpellings: const ["NE", "Nijar"], @@ -12124,22 +10873,10 @@ class CountryNer extends WorldCountry { translations: nerCountryTranslations, latLng: const LatLng(16, 8), landlocked: true, - bordersCodes: const [ - "Dza", - "Ben", - "Bfa", - "Tcd", - "Lby", - "Mli", - "Nga", - ], + bordersCodes: const ["Dza", "Ben", "Bfa", "Tcd", "Lby", "Mli", "Nga"], areaMetric: 1267000, demonyms: const [ - Demonyms( - language: LangEng(), - female: "Nigerien", - male: "Nigerien", - ), + Demonyms(language: LangEng(), female: "Nigerien", male: "Nigerien"), Demonyms( language: LangFra(), female: "Nigérienne", @@ -12156,8 +10893,6 @@ class CountryNer extends WorldCountry { fifa: "NIG", car: const Car(sign: "RN"), timezones: const ["UTC+01:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Niamey"), latLng: LatLng(13.52, 2.12), @@ -12191,7 +10926,6 @@ class CountryNfk extends WorldCountry { code: "NFK", codeNumeric: "574", codeShort: "NF", - cioc: null, independent: false, unMember: false, currencies: const [FiatAud()], @@ -12206,8 +10940,6 @@ class CountryNfk extends WorldCountry { languages: const [LangEng()], translations: nfkCountryTranslations, latLng: const LatLng(-29.03333333, 167.95), - landlocked: false, - bordersCodes: null, areaMetric: 36, demonyms: const [ Demonyms( @@ -12227,18 +10959,13 @@ class CountryNfk extends WorldCountry { openStreetMaps: "relation/2574988", ), population: 2302, - gini: null, - fifa: null, car: const Car(sign: "AUS", isRightSide: false), timezones: const ["UTC+11:30"], hasCoatOfArms: false, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Kingston"), latLng: LatLng(-29.05, 167.97), ), - postalCode: null, - regionalBlocs: null, ); } @@ -12266,8 +10993,6 @@ class CountryNga extends WorldCountry { codeNumeric: "566", codeShort: "NG", cioc: "NGR", - independent: true, - unMember: true, currencies: const [FiatNgn()], idd: const Idd(root: 2, suffixes: [34]), altSpellings: const [ @@ -12281,15 +11006,10 @@ class CountryNga extends WorldCountry { languages: const [LangEng()], translations: ngaCountryTranslations, latLng: const LatLng(10, 8), - landlocked: false, bordersCodes: const ["Ben", "Cmr", "Tcd", "Ner"], areaMetric: 923768, demonyms: const [ - Demonyms( - language: LangEng(), - female: "Nigerian", - male: "Nigerian", - ), + Demonyms(language: LangEng(), female: "Nigerian", male: "Nigerian"), Demonyms( language: LangFra(), female: "Nigériane", @@ -12306,8 +11026,6 @@ class CountryNga extends WorldCountry { fifa: "NGA", car: const Car(sign: "WAN"), timezones: const ["UTC+01:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Abuja"), latLng: LatLng(9.08, 7.53), @@ -12342,8 +11060,6 @@ class CountryNic extends WorldCountry { codeNumeric: "558", codeShort: "NI", cioc: "NCA", - independent: true, - unMember: true, currencies: const [FiatNio()], idd: const Idd(root: 50, suffixes: [5]), altSpellings: const [ @@ -12356,7 +11072,6 @@ class CountryNic extends WorldCountry { languages: const [LangSpa()], translations: nicCountryTranslations, latLng: const LatLng(13, -85), - landlocked: false, bordersCodes: const ["Cri", "Hnd"], areaMetric: 130373, demonyms: const [ @@ -12381,8 +11096,6 @@ class CountryNic extends WorldCountry { fifa: "NCA", car: const Car(sign: "NIC"), timezones: const ["UTC-06:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Managua"), latLng: LatLng(12.13, -86.25), @@ -12414,7 +11127,6 @@ class CountryNiu extends WorldCountry { code: "NIU", codeNumeric: "570", codeShort: "NU", - cioc: null, independent: false, unMember: false, currencies: const [FiatNzd()], @@ -12425,8 +11137,6 @@ class CountryNiu extends WorldCountry { languages: const [LangEng()], translations: niuCountryTranslations, latLng: const LatLng(-19.03333333, -169.86666666), - landlocked: false, - bordersCodes: null, areaMetric: 260, demonyms: const [ Demonyms(language: LangEng(), female: "Niuean", male: "Niuean"), @@ -12438,18 +11148,13 @@ class CountryNiu extends WorldCountry { openStreetMaps: "relation/1558556", ), population: 1470, - gini: null, - fifa: null, car: const Car(sign: "NZ", isRightSide: false), timezones: const ["UTC-11:00"], hasCoatOfArms: false, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Alofi"), latLng: LatLng(-19.02, -169.92), ), - postalCode: null, - regionalBlocs: null, ); } @@ -12477,22 +11182,14 @@ class CountryNld extends WorldCountry { codeNumeric: "528", codeShort: "NL", cioc: "NED", - independent: true, - unMember: true, currencies: const [FiatEur()], idd: const Idd(root: 3, suffixes: [1]), - altSpellings: const [ - "NL", - "Holland", - "Nederland", - "The Netherlands", - ], + altSpellings: const ["NL", "Holland", "Nederland", "The Netherlands"], continent: const Europe(), subregion: const WesternEurope(), languages: const [LangNld()], translations: nldCountryTranslations, latLng: const LatLng(52.5, 5.75), - landlocked: false, bordersCodes: const ["Bel", "Deu"], areaMetric: 41850, demonyms: const [ @@ -12513,8 +11210,6 @@ class CountryNld extends WorldCountry { fifa: "NED", car: const Car(sign: "NL"), timezones: const ["UTC+01:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Amsterdam"), latLng: LatLng(52.35, 4.92), @@ -12556,8 +11251,6 @@ class CountryNor extends WorldCountry { codeNumeric: "578", codeShort: "NO", cioc: "NOR", - independent: true, - unMember: true, currencies: const [FiatNok()], idd: const Idd(root: 4, suffixes: [7]), altSpellings: const [ @@ -12573,7 +11266,6 @@ class CountryNor extends WorldCountry { languages: const [LangNno(), LangNob()], translations: norCountryTranslations, latLng: const LatLng(62, 10), - landlocked: false, bordersCodes: const ["Fin", "Swe", "Rus"], areaMetric: 323802, demonyms: const [ @@ -12598,8 +11290,6 @@ class CountryNor extends WorldCountry { fifa: "NOR", car: const Car(sign: "N"), timezones: const ["UTC+01:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Oslo"), latLng: LatLng(59.92, 10.75), @@ -12634,8 +11324,6 @@ class CountryNpl extends WorldCountry { codeNumeric: "524", codeShort: "NP", cioc: "NEP", - independent: true, - unMember: true, currencies: const [FiatNpr()], idd: const Idd(root: 9, suffixes: [77]), altSpellings: const [ @@ -12652,11 +11340,7 @@ class CountryNpl extends WorldCountry { bordersCodes: const ["Chn", "Ind"], areaMetric: 147181, demonyms: const [ - Demonyms( - language: LangEng(), - female: "Nepalese", - male: "Nepalese", - ), + Demonyms(language: LangEng(), female: "Nepalese", male: "Nepalese"), Demonyms( language: LangFra(), female: "Népalaise", @@ -12673,7 +11357,6 @@ class CountryNpl extends WorldCountry { fifa: "NEP", car: const Car(sign: "NEP", isRightSide: false), timezones: const ["UTC+05:45"], - hasCoatOfArms: true, startOfWeek: Weekday.sunday, capitalInfo: const CapitalInfo( capital: Capital("Kathmandu"), @@ -12713,8 +11396,6 @@ class CountryNru extends WorldCountry { codeNumeric: "520", codeShort: "NR", cioc: "NRU", - independent: true, - unMember: true, currencies: const [FiatAud()], idd: const Idd(root: 6, suffixes: [74]), altSpellings: const [ @@ -12729,8 +11410,6 @@ class CountryNru extends WorldCountry { languages: const [LangEng(), LangNau()], translations: nruCountryTranslations, latLng: const LatLng(-0.53333333, 166.91666666), - landlocked: false, - bordersCodes: null, areaMetric: 21, demonyms: const [ Demonyms(language: LangEng(), female: "Nauruan", male: "Nauruan"), @@ -12743,17 +11422,12 @@ class CountryNru extends WorldCountry { ), population: 10834, gini: const Gini(year: 2012, coefficient: 34.8), - fifa: null, car: const Car(sign: "NAU", isRightSide: false), timezones: const ["UTC+12:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Yaren"), latLng: LatLng(-0.55, 166.92), ), - postalCode: null, - regionalBlocs: null, ); } @@ -12786,8 +11460,6 @@ class CountryNzl extends WorldCountry { codeNumeric: "554", codeShort: "NZ", cioc: "NZL", - independent: true, - unMember: true, currencies: const [FiatNzd()], idd: const Idd(root: 6, suffixes: [4]), altSpellings: const ["NZ", "Aotearoa"], @@ -12796,8 +11468,6 @@ class CountryNzl extends WorldCountry { languages: const [LangEng(), LangMri()], translations: nzlCountryTranslations, latLng: const LatLng(-41, 174), - landlocked: false, - bordersCodes: null, areaMetric: 270467, demonyms: const [ Demonyms( @@ -12817,7 +11487,6 @@ class CountryNzl extends WorldCountry { openStreetMaps: "relation/556706#map=5/-46.710/172.046", ), population: 5084300, - gini: null, fifa: "NZL", car: const Car(sign: "NZ", isRightSide: false), timezones: const [ @@ -12827,15 +11496,12 @@ class CountryNzl extends WorldCountry { "UTC+12:45", "UTC+13:00", ], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Wellington"), latLng: LatLng(-41.3, 174.78), ), postalCode: const PostalCode(format: "####", regExpPattern: r"^(\d{4})$"), - regionalBlocs: null, ); } @@ -12863,8 +11529,6 @@ class CountryOmn extends WorldCountry { codeNumeric: "512", codeShort: "OM", cioc: "OMA", - independent: true, - unMember: true, currencies: const [FiatOmr()], idd: const Idd(root: 9, suffixes: [68]), altSpellings: const ["OM", "Sultanate of Oman", "Salṭanat ʻUmān"], @@ -12873,7 +11537,6 @@ class CountryOmn extends WorldCountry { languages: const [LangAra()], translations: omnCountryTranslations, latLng: const LatLng(21, 57), - landlocked: false, bordersCodes: const ["Sau", "Are", "Yem"], areaMetric: 309500, demonyms: const [ @@ -12886,11 +11549,9 @@ class CountryOmn extends WorldCountry { openStreetMaps: "relation/305138", ), population: 5106622, - gini: null, fifa: "OMA", car: const Car(sign: "OM"), timezones: const ["UTC+04:00"], - hasCoatOfArms: true, startOfWeek: Weekday.sunday, capitalInfo: const CapitalInfo( capital: Capital("Muscat"), @@ -12931,8 +11592,6 @@ class CountryPak extends WorldCountry { codeNumeric: "586", codeShort: "PK", cioc: "PAK", - independent: true, - unMember: true, currencies: const [FiatPkr()], idd: const Idd(root: 9, suffixes: [2]), altSpellings: const [ @@ -12946,7 +11605,6 @@ class CountryPak extends WorldCountry { languages: const [LangEng(), LangUrd()], translations: pakCountryTranslations, latLng: const LatLng(30, 70), - landlocked: false, bordersCodes: const ["Afg", "Chn", "Ind", "Irn"], areaMetric: 881912, demonyms: const [ @@ -12971,8 +11629,6 @@ class CountryPak extends WorldCountry { fifa: "PAK", car: const Car(sign: "PK", isRightSide: false), timezones: const ["UTC+05:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Islamabad"), latLng: LatLng(33.68, 73.05), @@ -13006,8 +11662,6 @@ class CountryPan extends WorldCountry { codeNumeric: "591", codeShort: "PA", cioc: "PAN", - independent: true, - unMember: true, currencies: const [FiatPab(), FiatUsd()], idd: const Idd(root: 50, suffixes: [7]), altSpellings: const [ @@ -13020,7 +11674,6 @@ class CountryPan extends WorldCountry { languages: const [LangSpa()], translations: panCountryTranslations, latLng: const LatLng(9, -80), - landlocked: false, bordersCodes: const ["Col", "Cri"], areaMetric: 75417, demonyms: const [ @@ -13045,13 +11698,10 @@ class CountryPan extends WorldCountry { fifa: "PAN", car: const Car(sign: "PA"), timezones: const ["UTC-05:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Panama City"), latLng: LatLng(8.97, -79.53), ), - postalCode: null, regionalBlocs: const [BlocCAIS()], ); } @@ -13079,7 +11729,6 @@ class CountryPcn extends WorldCountry { code: "PCN", codeNumeric: "612", codeShort: "PN", - cioc: null, independent: false, unMember: false, currencies: const [FiatNzd()], @@ -13094,8 +11743,6 @@ class CountryPcn extends WorldCountry { languages: const [LangEng()], translations: pcnCountryTranslations, latLng: const LatLng(-25.06666666, -130.1), - landlocked: false, - bordersCodes: null, areaMetric: 47, demonyms: const [ Demonyms( @@ -13115,18 +11762,13 @@ class CountryPcn extends WorldCountry { openStreetMaps: "relation/2185375", ), population: 56, - gini: null, - fifa: null, car: const Car(sign: "GB", isRightSide: false), timezones: const ["UTC-08:00"], hasCoatOfArms: false, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Adamstown"), latLng: LatLng(-25.07, -130.08), ), - postalCode: null, - regionalBlocs: null, ); } @@ -13164,29 +11806,18 @@ class CountryPer extends WorldCountry { codeNumeric: "604", codeShort: "PE", cioc: "PER", - independent: true, - unMember: true, currencies: const [FiatPen()], idd: const Idd(root: 5, suffixes: [1]), - altSpellings: const [ - "PE", - "Republic of Peru", - "República del Perú", - ], + altSpellings: const ["PE", "Republic of Peru", "República del Perú"], continent: const Americas(), subregion: const SouthAmerica(), languages: const [LangAym(), LangQue(), LangSpa()], translations: perCountryTranslations, latLng: const LatLng(-10, -76), - landlocked: false, bordersCodes: const ["Bol", "Bra", "Chl", "Col", "Ecu"], areaMetric: 1285216, demonyms: const [ - Demonyms( - language: LangEng(), - female: "Peruvian", - male: "Peruvian", - ), + Demonyms(language: LangEng(), female: "Peruvian", male: "Peruvian"), Demonyms( language: LangFra(), female: "Péruvienne", @@ -13203,8 +11834,6 @@ class CountryPer extends WorldCountry { fifa: "PER", car: const Car(sign: "PE"), timezones: const ["UTC-05:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Lima"), latLng: LatLng(-12.05, -77.05), @@ -13243,8 +11872,6 @@ class CountryPhl extends WorldCountry { codeNumeric: "608", codeShort: "PH", cioc: "PHI", - independent: true, - unMember: true, currencies: const [FiatPhp()], idd: const Idd(root: 6, suffixes: [3]), altSpellings: const [ @@ -13257,15 +11884,9 @@ class CountryPhl extends WorldCountry { languages: const [LangEng(), LangTgl()], translations: phlCountryTranslations, latLng: const LatLng(13, 122), - landlocked: false, - bordersCodes: null, areaMetric: 342353, demonyms: const [ - Demonyms( - language: LangEng(), - female: "Filipino", - male: "Filipino", - ), + Demonyms(language: LangEng(), female: "Filipino", male: "Filipino"), Demonyms( language: LangFra(), female: "Philippine", @@ -13282,8 +11903,6 @@ class CountryPhl extends WorldCountry { fifa: "PHI", car: const Car(sign: "RP"), timezones: const ["UTC+08:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Manila"), latLng: LatLng(14.6, 120.97), @@ -13318,8 +11937,6 @@ class CountryPlw extends WorldCountry { codeNumeric: "585", codeShort: "PW", cioc: "PLW", - independent: true, - unMember: true, currencies: const [FiatUsd()], idd: const Idd(root: 6, suffixes: [80]), altSpellings: const ["PW", "Republic of Palau", "Beluu er a Belau"], @@ -13328,8 +11945,6 @@ class CountryPlw extends WorldCountry { languages: const [LangEng()], translations: plwCountryTranslations, latLng: const LatLng(7.5, 134.5), - landlocked: false, - bordersCodes: null, areaMetric: 459, demonyms: const [ Demonyms(language: LangEng(), female: "Palauan", male: "Palauan"), @@ -13341,19 +11956,14 @@ class CountryPlw extends WorldCountry { openStreetMaps: "relation/571805", ), population: 18092, - gini: null, - fifa: null, car: const Car(sign: "PAL"), timezones: const ["UTC+09:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Ngerulmud"), latLng: LatLng(7.5, 134.62), ), postalCode: const PostalCode(format: "96940", regExpPattern: r"^(96940)$"), - regionalBlocs: null, ); } @@ -13386,8 +11996,6 @@ class CountryPng extends WorldCountry { codeNumeric: "598", codeShort: "PG", cioc: "PNG", - independent: true, - unMember: true, currencies: const [FiatPgk()], idd: const Idd(root: 6, suffixes: [75]), altSpellings: const [ @@ -13400,7 +12008,6 @@ class CountryPng extends WorldCountry { languages: const [LangEng(), LangHmo()], translations: pngCountryTranslations, latLng: const LatLng(-6, 147), - landlocked: false, bordersCodes: const ["Idn"], areaMetric: 462840, demonyms: const [ @@ -13425,15 +12032,12 @@ class CountryPng extends WorldCountry { fifa: "PNG", car: const Car(sign: "PNG", isRightSide: false), timezones: const ["UTC+10:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Port Moresby"), latLng: LatLng(-9.45, 147.18), ), postalCode: const PostalCode(format: "###", regExpPattern: r"^(\d{3})$"), - regionalBlocs: null, ); } @@ -13461,8 +12065,6 @@ class CountryPol extends WorldCountry { codeNumeric: "616", codeShort: "PL", cioc: "POL", - independent: true, - unMember: true, currencies: const [FiatPln()], idd: const Idd(root: 4, suffixes: [8]), altSpellings: const [ @@ -13475,16 +12077,7 @@ class CountryPol extends WorldCountry { languages: const [LangPol()], translations: polCountryTranslations, latLng: const LatLng(52, 20), - landlocked: false, - bordersCodes: const [ - "Blr", - "Cze", - "Deu", - "Ltu", - "Rus", - "Svk", - "Ukr", - ], + bordersCodes: const ["Blr", "Cze", "Deu", "Ltu", "Rus", "Svk", "Ukr"], areaMetric: 312679, demonyms: const [ Demonyms(language: LangEng(), female: "Polish", male: "Polish"), @@ -13504,8 +12097,6 @@ class CountryPol extends WorldCountry { fifa: "POL", car: const Car(sign: "PL"), timezones: const ["UTC+01:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Warsaw"), latLng: LatLng(52.25, 21), @@ -13558,8 +12149,6 @@ class CountryPri extends WorldCountry { languages: const [LangEng(), LangSpa()], translations: priCountryTranslations, latLng: const LatLng(18.25, -66.5), - landlocked: false, - bordersCodes: null, areaMetric: 8870, demonyms: const [ Demonyms( @@ -13579,12 +12168,10 @@ class CountryPri extends WorldCountry { openStreetMaps: "relation/4422604", ), population: 3194034, - gini: null, fifa: "PUR", car: const Car(sign: "USA"), timezones: const ["UTC-04:00"], hasCoatOfArms: false, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("San Juan"), latLng: LatLng(18.47, -66.12), @@ -13593,7 +12180,6 @@ class CountryPri extends WorldCountry { format: "#####-####", regExpPattern: r"^(\d{9})$", ), - regionalBlocs: null, ); } @@ -13621,8 +12207,6 @@ class CountryPrk extends WorldCountry { codeNumeric: "408", codeShort: "KP", cioc: "PRK", - independent: true, - unMember: true, currencies: const [FiatKpw()], idd: const Idd(root: 8, suffixes: [50]), altSpellings: const [ @@ -13640,7 +12224,6 @@ class CountryPrk extends WorldCountry { languages: const [LangKor()], translations: prkCountryTranslations, latLng: const LatLng(40, 127), - landlocked: false, bordersCodes: const ["Chn", "Kor", "Rus"], areaMetric: 120538, demonyms: const [ @@ -13661,21 +12244,15 @@ class CountryPrk extends WorldCountry { openStreetMaps: "relation/192734", ), population: 25778815, - gini: null, fifa: "PRK", car: const Car(), timezones: const ["UTC+09:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Pyongyang"), latLng: LatLng(39.02, 125.75), ), - postalCode: const PostalCode( - format: "###-###", - regExpPattern: r"^(\d{6})$", - ), - regionalBlocs: null, + postalCode: + const PostalCode(format: "###-###", regExpPattern: r"^(\d{6})$"), ); } @@ -13703,8 +12280,6 @@ class CountryPrt extends WorldCountry { codeNumeric: "620", codeShort: "PT", cioc: "POR", - independent: true, - unMember: true, currencies: const [FiatEur()], idd: const Idd(root: 3, suffixes: [51]), altSpellings: const [ @@ -13718,7 +12293,6 @@ class CountryPrt extends WorldCountry { languages: const [LangPor()], translations: prtCountryTranslations, latLng: const LatLng(39.5, -8), - landlocked: false, bordersCodes: const ["Esp"], areaMetric: 92090, demonyms: const [ @@ -13743,16 +12317,12 @@ class CountryPrt extends WorldCountry { fifa: "POR", car: const Car(sign: "P"), timezones: const ["UTC-01:00", "UTC+00:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Lisbon"), latLng: LatLng(38.72, -9.13), ), - postalCode: const PostalCode( - format: "####-###", - regExpPattern: r"^(\d{7})$", - ), + postalCode: + const PostalCode(format: "####-###", regExpPattern: r"^(\d{7})$"), regionalBlocs: const [BlocEU()], ); } @@ -13786,8 +12356,6 @@ class CountryPry extends WorldCountry { codeNumeric: "600", codeShort: "PY", cioc: "PAR", - independent: true, - unMember: true, currencies: const [FiatPyg()], idd: const Idd(root: 5, suffixes: [95]), altSpellings: const [ @@ -13826,8 +12394,6 @@ class CountryPry extends WorldCountry { fifa: "PAR", car: const Car(sign: "PY"), timezones: const ["UTC-04:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Asunción"), latLng: LatLng(-25.28, -57.57), @@ -13877,7 +12443,6 @@ class CountryPse extends WorldCountry { languages: const [LangAra()], translations: pseCountryTranslations, latLng: const LatLng(31.9, 35.2), - landlocked: false, bordersCodes: const ["Isr", "Egy", "Jor"], areaMetric: 6220, demonyms: const [ @@ -13902,13 +12467,11 @@ class CountryPse extends WorldCountry { fifa: "PLE", car: const Car(sign: "PS"), timezones: const ["UTC+02:00"], - hasCoatOfArms: true, startOfWeek: Weekday.sunday, capitalInfo: const CapitalInfo( capital: Capital("Ramallah", deJure: "Jerusalem"), latLng: LatLng(31.9, 35.2), ), - postalCode: null, regionalBlocs: const [BlocAL()], ); } @@ -13936,7 +12499,6 @@ class CountryPyf extends WorldCountry { code: "PYF", codeNumeric: "258", codeShort: "PF", - cioc: null, independent: false, unMember: false, currencies: const [FiatXpf()], @@ -13952,8 +12514,6 @@ class CountryPyf extends WorldCountry { languages: const [LangFra()], translations: pyfCountryTranslations, latLng: const LatLng(17.6797, 149.4068), - landlocked: false, - bordersCodes: null, areaMetric: 4167, demonyms: const [ Demonyms( @@ -13973,18 +12533,13 @@ class CountryPyf extends WorldCountry { openStreetMaps: "relation/3412620", ), population: 280904, - gini: null, - fifa: null, car: const Car(sign: "F"), timezones: const ["UTC-10:00", "UTC-09:30", "UTC-09:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Papeetē"), latLng: LatLng(-17.53, -149.56), ), postalCode: const PostalCode(regExpPattern: r"^((97|98)7\d{2})$"), - regionalBlocs: null, ); } @@ -14012,8 +12567,6 @@ class CountryQat extends WorldCountry { codeNumeric: "634", codeShort: "QA", cioc: "QAT", - independent: true, - unMember: true, currencies: const [FiatQar()], idd: const Idd(root: 9, suffixes: [74]), altSpellings: const ["QA", "State of Qatar", "Dawlat Qaṭar"], @@ -14022,7 +12575,6 @@ class CountryQat extends WorldCountry { languages: const [LangAra()], translations: qatCountryTranslations, latLng: const LatLng(25.5, 51.25), - landlocked: false, bordersCodes: const ["Sau"], areaMetric: 11586, demonyms: const [ @@ -14039,17 +12591,14 @@ class CountryQat extends WorldCountry { openStreetMaps: "relation/305095", ), population: 2881060, - gini: null, fifa: "QAT", car: const Car(sign: "Q"), timezones: const ["UTC+03:00"], - hasCoatOfArms: true, startOfWeek: Weekday.sunday, capitalInfo: const CapitalInfo( capital: Capital("Doha"), latLng: LatLng(25.28, 51.53), ), - postalCode: null, regionalBlocs: const [BlocAL()], ); } @@ -14077,7 +12626,6 @@ class CountryReu extends WorldCountry { code: "REU", codeNumeric: "638", codeShort: "RE", - cioc: null, independent: false, unMember: false, currencies: const [FiatEur()], @@ -14088,8 +12636,6 @@ class CountryReu extends WorldCountry { languages: const [LangFra()], translations: reuCountryTranslations, latLng: const LatLng(-21.15, 55.5), - landlocked: false, - bordersCodes: null, areaMetric: 2511, demonyms: const [ Demonyms( @@ -14109,12 +12655,9 @@ class CountryReu extends WorldCountry { openStreetMaps: "relation/1785276", ), population: 840974, - gini: null, - fifa: null, car: const Car(sign: "F"), timezones: const ["UTC+04:00"], hasCoatOfArms: false, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Saint-Denis"), latLng: LatLng(-20.88, 55.45), @@ -14149,8 +12692,6 @@ class CountryRou extends WorldCountry { codeNumeric: "642", codeShort: "RO", cioc: "ROU", - independent: true, - unMember: true, currencies: const [FiatRon()], idd: const Idd(root: 4, suffixes: [0]), altSpellings: const ["RO", "Rumania", "Roumania", "România"], @@ -14159,15 +12700,10 @@ class CountryRou extends WorldCountry { languages: const [LangRon()], translations: rouCountryTranslations, latLng: const LatLng(46, 25), - landlocked: false, bordersCodes: const ["Bgr", "Hun", "Mda", "Srb", "Ukr"], areaMetric: 238391, demonyms: const [ - Demonyms( - language: LangEng(), - female: "Romanian", - male: "Romanian", - ), + Demonyms(language: LangEng(), female: "Romanian", male: "Romanian"), Demonyms(language: LangFra(), female: "Roumaine", male: "Roumain"), ], emoji: "🇷🇴", @@ -14180,8 +12716,6 @@ class CountryRou extends WorldCountry { fifa: "ROU", car: const Car(sign: "RO"), timezones: const ["UTC+02:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Bucharest"), latLng: LatLng(44.43, 26.1), @@ -14216,8 +12750,6 @@ class CountryRus extends WorldCountry { codeNumeric: "643", codeShort: "RU", cioc: "RUS", - independent: true, - unMember: true, currencies: const [FiatRub()], idd: const Idd(root: 7, suffixes: [3, 4, 5, 8, 9]), altSpellings: const [ @@ -14230,7 +12762,6 @@ class CountryRus extends WorldCountry { languages: const [LangRus()], translations: rusCountryTranslations, latLng: const LatLng(60, 100), - landlocked: false, bordersCodes: const [ "Aze", "Blr", @@ -14272,8 +12803,6 @@ class CountryRus extends WorldCountry { "UTC+11:00", "UTC+12:00", ], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Moscow"), latLng: LatLng(55.75, 37.6), @@ -14318,8 +12847,6 @@ class CountryRwa extends WorldCountry { codeNumeric: "646", codeShort: "RW", cioc: "RWA", - independent: true, - unMember: true, currencies: const [FiatRwf()], idd: const Idd(root: 2, suffixes: [50]), altSpellings: const [ @@ -14354,13 +12881,10 @@ class CountryRwa extends WorldCountry { fifa: "RWA", car: const Car(sign: "RWA"), timezones: const ["UTC+02:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Kigali"), latLng: LatLng(-1.95, 30.05), ), - postalCode: null, regionalBlocs: const [BlocAU()], ); } @@ -14389,8 +12913,6 @@ class CountrySau extends WorldCountry { codeNumeric: "682", codeShort: "SA", cioc: "KSA", - independent: true, - unMember: true, currencies: const [FiatSar()], idd: const Idd(root: 9, suffixes: [66]), altSpellings: const [ @@ -14404,16 +12926,7 @@ class CountrySau extends WorldCountry { languages: const [LangAra()], translations: sauCountryTranslations, latLng: const LatLng(25, 45), - landlocked: false, - bordersCodes: const [ - "Irq", - "Jor", - "Kwt", - "Omn", - "Qat", - "Are", - "Yem", - ], + bordersCodes: const ["Irq", "Jor", "Kwt", "Omn", "Qat", "Are", "Yem"], areaMetric: 2149690, demonyms: const [ Demonyms( @@ -14433,11 +12946,9 @@ class CountrySau extends WorldCountry { openStreetMaps: "relation/307584", ), population: 34813867, - gini: null, fifa: "KSA", car: const Car(sign: "SA"), timezones: const ["UTC+03:00"], - hasCoatOfArms: true, startOfWeek: Weekday.sunday, capitalInfo: const CapitalInfo( capital: Capital("Riyadh"), @@ -14477,8 +12988,6 @@ class CountrySdn extends WorldCountry { codeNumeric: "729", codeShort: "SD", cioc: "SUD", - independent: true, - unMember: true, currencies: const [FiatSdg()], idd: const Idd(root: 2, suffixes: [49]), altSpellings: const [ @@ -14491,23 +13000,10 @@ class CountrySdn extends WorldCountry { languages: const [LangAra(), LangEng()], translations: sdnCountryTranslations, latLng: const LatLng(15, 30), - landlocked: false, - bordersCodes: const [ - "Caf", - "Tcd", - "Egy", - "Eri", - "Eth", - "Lby", - "Ssd", - ], + bordersCodes: const ["Caf", "Tcd", "Egy", "Eri", "Eth", "Lby", "Ssd"], areaMetric: 1886068, demonyms: const [ - Demonyms( - language: LangEng(), - female: "Sudanese", - male: "Sudanese", - ), + Demonyms(language: LangEng(), female: "Sudanese", male: "Sudanese"), Demonyms( language: LangFra(), female: "Soudanaise", @@ -14524,8 +13020,6 @@ class CountrySdn extends WorldCountry { fifa: "SDN", car: const Car(sign: "SUD"), timezones: const ["UTC+03:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Khartoum"), latLng: LatLng(15.6, 32.53), @@ -14559,8 +13053,6 @@ class CountrySen extends WorldCountry { codeNumeric: "686", codeShort: "SN", cioc: "SEN", - independent: true, - unMember: true, currencies: const [FiatXof()], idd: const Idd(root: 2, suffixes: [21]), altSpellings: const [ @@ -14573,7 +13065,6 @@ class CountrySen extends WorldCountry { languages: const [LangFra()], translations: senCountryTranslations, latLng: const LatLng(14, -14), - landlocked: false, bordersCodes: const ["Gmb", "Gin", "Gnb", "Mli", "Mrt"], areaMetric: 196722, demonyms: const [ @@ -14598,8 +13089,6 @@ class CountrySen extends WorldCountry { fifa: "SEN", car: const Car(sign: "SN"), timezones: const ["UTC+00:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Dakar"), latLng: LatLng(14.73, -17.63), @@ -14627,11 +13116,7 @@ class CountrySgp extends WorldCountry { official: "Republic of Singapore", common: "Singapore", ), - CountryName( - language: LangZho(), - official: "新加坡共和国", - common: "新加坡", - ), + CountryName(language: LangZho(), official: "新加坡共和国", common: "新加坡"), CountryName( language: LangMsa(), official: "Republik Singapura", @@ -14648,8 +13133,6 @@ class CountrySgp extends WorldCountry { codeNumeric: "702", codeShort: "SG", cioc: "SGP", - independent: true, - unMember: true, currencies: const [FiatSgd()], idd: const Idd(root: 6, suffixes: [5]), altSpellings: const [ @@ -14663,8 +13146,6 @@ class CountrySgp extends WorldCountry { languages: const [LangZho(), LangEng(), LangMsa(), LangTam()], translations: sgpCountryTranslations, latLng: const LatLng(1.36666666, 103.8), - landlocked: false, - bordersCodes: null, areaMetric: 710, demonyms: const [ Demonyms( @@ -14684,12 +13165,9 @@ class CountrySgp extends WorldCountry { openStreetMaps: "relation/536780", ), population: 5685807, - gini: null, fifa: "SIN", car: const Car(sign: "SGP", isRightSide: false), timezones: const ["UTC+08:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Singapore"), latLng: LatLng(1.28, 103.85), @@ -14723,7 +13201,6 @@ class CountrySgs extends WorldCountry { code: "SGS", codeNumeric: "239", codeShort: "GS", - cioc: null, independent: false, unMember: false, currencies: const [FiatShp()], @@ -14733,12 +13210,9 @@ class CountrySgs extends WorldCountry { "South Georgia and the South Sandwich Islands", ], continent: const Antarctica(), - subregion: null, languages: const [LangEng()], translations: sgsCountryTranslations, latLng: const LatLng(-54.5, -37), - landlocked: false, - bordersCodes: null, areaMetric: 3903, demonyms: const [ Demonyms( @@ -14753,17 +13227,13 @@ class CountrySgs extends WorldCountry { openStreetMaps: "relation/1983629", ), population: 30, - gini: null, - fifa: null, car: const Car(), timezones: const ["UTC-02:00"], hasCoatOfArms: false, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("King Edward Point"), latLng: LatLng(-54.28, -36.5), ), - postalCode: null, regionalBlocs: const [BlocUSAN()], ); } @@ -14791,7 +13261,6 @@ class CountryShn extends WorldCountry { code: "SHN", codeNumeric: "654", codeShort: "SH", - cioc: null, independent: false, unMember: false, currencies: const [FiatGbp(), FiatShp()], @@ -14805,8 +13274,6 @@ class CountryShn extends WorldCountry { languages: const [LangEng()], translations: shnCountryTranslations, latLng: const LatLng(-15.95, -5.72), - landlocked: false, - bordersCodes: null, areaMetric: 394, demonyms: const [ Demonyms( @@ -14826,12 +13293,9 @@ class CountryShn extends WorldCountry { openStreetMaps: "relation/4868269#map=13/-15.9657/-5.7120", ), population: 53192, - gini: null, - fifa: null, car: const Car(sign: "GB", isRightSide: false), timezones: const ["UTC+00:00"], hasCoatOfArms: false, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Jamestown"), latLng: LatLng(-15.93, -5.72), @@ -14867,7 +13331,6 @@ class CountrySjm extends WorldCountry { code: "SJM", codeNumeric: "744", codeShort: "SJ", - cioc: null, independent: false, unMember: false, currencies: const [FiatNok()], @@ -14878,8 +13341,6 @@ class CountrySjm extends WorldCountry { languages: const [LangNor()], translations: sjmCountryTranslations, latLng: const LatLng(78, 20), - landlocked: false, - bordersCodes: null, areaMetric: 377, demonyms: const [ Demonyms( @@ -14894,18 +13355,13 @@ class CountrySjm extends WorldCountry { openStreetMaps: "relation/1337397", ), population: 2562, - gini: null, - fifa: null, car: const Car(sign: "N"), timezones: const ["UTC+01:00"], hasCoatOfArms: false, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Longyearbyen"), latLng: LatLng(78.22, 15.63), ), - postalCode: null, - regionalBlocs: null, ); } @@ -14933,8 +13389,6 @@ class CountrySlb extends WorldCountry { codeNumeric: "090", codeShort: "SB", cioc: "SOL", - independent: true, - unMember: true, currencies: const [FiatSbd()], idd: const Idd(root: 6, suffixes: [77]), altSpellings: const ["SB"], @@ -14943,8 +13397,6 @@ class CountrySlb extends WorldCountry { languages: const [LangEng()], translations: slbCountryTranslations, latLng: const LatLng(-8, 159), - landlocked: false, - bordersCodes: null, areaMetric: 28896, demonyms: const [ Demonyms( @@ -14968,14 +13420,10 @@ class CountrySlb extends WorldCountry { fifa: "SOL", car: const Car(sign: "SOL", isRightSide: false), timezones: const ["UTC+11:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Honiara"), latLng: LatLng(-9.43, 159.95), ), - postalCode: null, - regionalBlocs: null, ); } @@ -15003,8 +13451,6 @@ class CountrySle extends WorldCountry { codeNumeric: "694", codeShort: "SL", cioc: "SLE", - independent: true, - unMember: true, currencies: const [FiatSll()], idd: const Idd(root: 2, suffixes: [32]), altSpellings: const ["SL", "Republic of Sierra Leone"], @@ -15013,7 +13459,6 @@ class CountrySle extends WorldCountry { languages: const [LangEng()], translations: sleCountryTranslations, latLng: const LatLng(8.5, -11.5), - landlocked: false, bordersCodes: const ["Gin", "Lbr"], areaMetric: 71740, demonyms: const [ @@ -15038,13 +13483,10 @@ class CountrySle extends WorldCountry { fifa: "SLE", car: const Car(sign: "WAL"), timezones: const ["UTC+00:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Freetown"), latLng: LatLng(8.48, -13.23), ), - postalCode: null, regionalBlocs: const [BlocAU()], ); } @@ -15073,8 +13515,6 @@ class CountrySlv extends WorldCountry { codeNumeric: "222", codeShort: "SV", cioc: "ESA", - independent: true, - unMember: true, currencies: const [FiatUsd()], idd: const Idd(root: 50, suffixes: [3]), altSpellings: const [ @@ -15087,7 +13527,6 @@ class CountrySlv extends WorldCountry { languages: const [LangSpa()], translations: slvCountryTranslations, latLng: const LatLng(13.83333333, -88.91666666), - landlocked: false, bordersCodes: const ["Gtm", "Hnd"], areaMetric: 21041, demonyms: const [ @@ -15112,8 +13551,6 @@ class CountrySlv extends WorldCountry { fifa: "SLV", car: const Car(sign: "ES"), timezones: const ["UTC-06:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("San Salvador"), latLng: LatLng(13.7, -89.2), @@ -15150,8 +13587,6 @@ class CountrySmr extends WorldCountry { codeNumeric: "674", codeShort: "SM", cioc: "SMR", - independent: true, - unMember: true, currencies: const [FiatEur()], idd: const Idd(root: 3, suffixes: [78]), altSpellings: const [ @@ -15185,19 +13620,15 @@ class CountrySmr extends WorldCountry { openStreetMaps: "relation/54624", ), population: 33938, - gini: null, fifa: "SMR", car: const Car(sign: "RSM"), timezones: const ["UTC+01:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("City of San Marino"), latLng: LatLng(43.94, 12.45), ), postalCode: const PostalCode(format: "4789#", regExpPattern: r"^(4789\d)$"), - regionalBlocs: null, ); } @@ -15230,8 +13661,6 @@ class CountrySom extends WorldCountry { codeNumeric: "706", codeShort: "SO", cioc: "SOM", - independent: true, - unMember: true, currencies: const [FiatSos()], idd: const Idd(root: 2, suffixes: [52]), altSpellings: const [ @@ -15246,7 +13675,6 @@ class CountrySom extends WorldCountry { languages: const [LangAra(), LangSom()], translations: somCountryTranslations, latLng: const LatLng(10, 49), - landlocked: false, bordersCodes: const ["Dji", "Eth", "Ken"], areaMetric: 637657, demonyms: const [ @@ -15267,8 +13695,6 @@ class CountrySom extends WorldCountry { fifa: "SOM", car: const Car(sign: "SO"), timezones: const ["UTC+03:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Mogadishu"), latLng: LatLng(2.07, 45.33), @@ -15304,7 +13730,6 @@ class CountrySpm extends WorldCountry { code: "SPM", codeNumeric: "666", codeShort: "PM", - cioc: null, independent: false, unMember: false, currencies: const [FiatEur()], @@ -15318,8 +13743,6 @@ class CountrySpm extends WorldCountry { languages: const [LangFra()], translations: spmCountryTranslations, latLng: const LatLng(46.83333333, -56.33333333), - landlocked: false, - bordersCodes: null, areaMetric: 242, demonyms: const [ Demonyms( @@ -15339,18 +13762,14 @@ class CountrySpm extends WorldCountry { openStreetMaps: "relation/3406826", ), population: 6069, - gini: null, - fifa: null, car: const Car(sign: "F"), timezones: const ["UTC-03:00"], hasCoatOfArms: false, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Saint-Pierre"), latLng: LatLng(46.77, -56.18), ), postalCode: const PostalCode(regExpPattern: r"^(97500)$"), - regionalBlocs: null, ); } @@ -15378,8 +13797,6 @@ class CountrySrb extends WorldCountry { codeNumeric: "688", codeShort: "RS", cioc: "SRB", - independent: true, - unMember: true, currencies: const [FiatRsd()], idd: const Idd(root: 3, suffixes: [81]), altSpellings: const [ @@ -15395,15 +13812,7 @@ class CountrySrb extends WorldCountry { translations: srbCountryTranslations, latLng: const LatLng(44, 21), landlocked: true, - bordersCodes: const [ - "Bih", - "Bgr", - "Hrv", - "Hun", - "Mkd", - "Mne", - "Rou", - ], + bordersCodes: const ["Bih", "Bgr", "Hrv", "Hun", "Mkd", "Mne", "Rou"], areaMetric: 88361, demonyms: const [ Demonyms(language: LangEng(), female: "Serbian", male: "Serbian"), @@ -15419,8 +13828,6 @@ class CountrySrb extends WorldCountry { fifa: "SRB", car: const Car(sign: "SRB"), timezones: const ["UTC+01:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Belgrade"), latLng: LatLng(44.83, 20.5), @@ -15455,8 +13862,6 @@ class CountrySsd extends WorldCountry { codeNumeric: "728", codeShort: "SS", cioc: "SSD", - independent: true, - unMember: true, currencies: const [FiatSsp()], idd: const Idd(root: 2, suffixes: [11]), altSpellings: const ["SS"], @@ -15490,13 +13895,11 @@ class CountrySsd extends WorldCountry { fifa: "SSD", car: const Car(), timezones: const ["UTC+03:00"], - hasCoatOfArms: true, startOfWeek: Weekday.sunday, capitalInfo: const CapitalInfo( capital: Capital("Juba"), latLng: LatLng(4.85, 31.62), ), - postalCode: null, regionalBlocs: const [BlocAU()], ); } @@ -15525,8 +13928,6 @@ class CountryStp extends WorldCountry { codeNumeric: "678", codeShort: "ST", cioc: "STP", - independent: true, - unMember: true, currencies: const [FiatStn()], idd: const Idd(root: 2, suffixes: [39]), altSpellings: const [ @@ -15540,8 +13941,6 @@ class CountryStp extends WorldCountry { languages: const [LangPor()], translations: stpCountryTranslations, latLng: const LatLng(1, 7), - landlocked: false, - bordersCodes: null, areaMetric: 964, demonyms: const [ Demonyms( @@ -15565,13 +13964,10 @@ class CountryStp extends WorldCountry { fifa: "STP", car: const Car(sign: "STP"), timezones: const ["UTC+00:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("São Tomé"), latLng: LatLng(0.34, 6.73), ), - postalCode: null, regionalBlocs: const [BlocAU()], ); } @@ -15600,8 +13996,6 @@ class CountrySur extends WorldCountry { codeNumeric: "740", codeShort: "SR", cioc: "SUR", - independent: true, - unMember: true, currencies: const [FiatSrd()], idd: const Idd(root: 5, suffixes: [97]), altSpellings: const [ @@ -15616,7 +14010,6 @@ class CountrySur extends WorldCountry { languages: const [LangNld()], translations: surCountryTranslations, latLng: const LatLng(4, -56), - landlocked: false, bordersCodes: const ["Bra", "Guf", "Guy"], areaMetric: 163820, demonyms: const [ @@ -15641,13 +14034,10 @@ class CountrySur extends WorldCountry { fifa: "SUR", car: const Car(sign: "SME", isRightSide: false), timezones: const ["UTC-03:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Paramaribo"), latLng: LatLng(5.83, -55.17), ), - postalCode: null, regionalBlocs: const [BlocCARICOM(), BlocUSAN()], ); } @@ -15676,15 +14066,9 @@ class CountrySvk extends WorldCountry { codeNumeric: "703", codeShort: "SK", cioc: "SVK", - independent: true, - unMember: true, currencies: const [FiatEur()], idd: const Idd(root: 4, suffixes: [21]), - altSpellings: const [ - "SK", - "Slovak Republic", - "Slovenská republika", - ], + altSpellings: const ["SK", "Slovak Republic", "Slovenská republika"], continent: const Europe(), subregion: const CentralEurope(), languages: const [LangSlk()], @@ -15695,11 +14079,7 @@ class CountrySvk extends WorldCountry { areaMetric: 49037, demonyms: const [ Demonyms(language: LangEng(), female: "Slovak", male: "Slovak"), - Demonyms( - language: LangFra(), - female: "Slovaque", - male: "Slovaque", - ), + Demonyms(language: LangFra(), female: "Slovaque", male: "Slovaque"), ], emoji: "🇸🇰", maps: const Maps( @@ -15711,8 +14091,6 @@ class CountrySvk extends WorldCountry { fifa: "SVK", car: const Car(sign: "SK"), timezones: const ["UTC+01:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Bratislava"), latLng: LatLng(48.15, 17.12), @@ -15746,8 +14124,6 @@ class CountrySvn extends WorldCountry { codeNumeric: "705", codeShort: "SI", cioc: "SLO", - independent: true, - unMember: true, currencies: const [FiatEur()], idd: const Idd(root: 3, suffixes: [86]), altSpellings: const [ @@ -15760,7 +14136,6 @@ class CountrySvn extends WorldCountry { languages: const [LangSlv()], translations: svnCountryTranslations, latLng: const LatLng(46.11666666, 14.81666666), - landlocked: false, bordersCodes: const ["Aut", "Hrv", "Ita", "Hun"], areaMetric: 20273, demonyms: const [ @@ -15777,8 +14152,6 @@ class CountrySvn extends WorldCountry { fifa: "SVN", car: const Car(sign: "SLO"), timezones: const ["UTC+01:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Ljubljana"), latLng: LatLng(46.05, 14.52), @@ -15815,8 +14188,6 @@ class CountrySwe extends WorldCountry { codeNumeric: "752", codeShort: "SE", cioc: "SWE", - independent: true, - unMember: true, currencies: const [FiatSek()], idd: const Idd(root: 4, suffixes: [6]), altSpellings: const [ @@ -15829,7 +14200,6 @@ class CountrySwe extends WorldCountry { languages: const [LangSwe()], translations: sweCountryTranslations, latLng: const LatLng(62, 15), - landlocked: false, bordersCodes: const ["Fin", "Nor"], areaMetric: 450295, demonyms: const [ @@ -15846,8 +14216,6 @@ class CountrySwe extends WorldCountry { fifa: "SWE", car: const Car(sign: "S"), timezones: const ["UTC+01:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Stockholm"), latLng: LatLng(59.33, 18.05), @@ -15889,8 +14257,6 @@ class CountrySwz extends WorldCountry { codeNumeric: "748", codeShort: "SZ", cioc: "SWZ", - independent: true, - unMember: true, currencies: const [FiatSzl(), FiatZar()], idd: const Idd(root: 2, suffixes: [68]), altSpellings: const [ @@ -15925,7 +14291,6 @@ class CountrySwz extends WorldCountry { car: const Car(sign: "SD", isRightSide: false), timezones: const ["UTC+02:00"], hasCoatOfArms: false, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Mbabane"), latLng: LatLng(-26.32, 31.13), @@ -15971,7 +14336,6 @@ class CountrySxm extends WorldCountry { code: "SXM", codeNumeric: "534", codeShort: "SX", - cioc: null, independent: false, unMember: false, currencies: const [FiatAng()], @@ -15982,7 +14346,6 @@ class CountrySxm extends WorldCountry { languages: const [LangEng(), LangFra(), LangNld()], translations: sxmCountryTranslations, latLng: const LatLng(18.033333, -63.05), - landlocked: false, bordersCodes: const ["Maf"], areaMetric: 34, demonyms: const [ @@ -16003,18 +14366,13 @@ class CountrySxm extends WorldCountry { openStreetMaps: "relation/1231790", ), population: 40812, - gini: null, - fifa: null, car: const Car(sign: "SX"), timezones: const ["UTC-04:00"], hasCoatOfArms: false, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Philipsburg"), latLng: LatLng(18.02, -63.03), ), - postalCode: null, - regionalBlocs: null, ); } @@ -16047,8 +14405,6 @@ class CountrySyc extends WorldCountry { codeNumeric: "690", codeShort: "SC", cioc: "SEY", - independent: true, - unMember: true, currencies: const [FiatScr()], idd: const Idd(root: 2, suffixes: [48]), altSpellings: const [ @@ -16062,8 +14418,6 @@ class CountrySyc extends WorldCountry { languages: const [LangEng(), LangFra()], translations: sycCountryTranslations, latLng: const LatLng(-4.58333333, 55.66666666), - landlocked: false, - bordersCodes: null, areaMetric: 452, demonyms: const [ Demonyms( @@ -16087,13 +14441,10 @@ class CountrySyc extends WorldCountry { fifa: "SEY", car: const Car(sign: "SY", isRightSide: false), timezones: const ["UTC+04:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Victoria"), latLng: LatLng(-4.62, 55.45), ), - postalCode: null, regionalBlocs: const [BlocAU()], ); } @@ -16122,8 +14473,6 @@ class CountrySyr extends WorldCountry { codeNumeric: "760", codeShort: "SY", cioc: "SYR", - independent: true, - unMember: true, currencies: const [FiatSyp()], idd: const Idd(root: 9, suffixes: [63]), altSpellings: const [ @@ -16136,7 +14485,6 @@ class CountrySyr extends WorldCountry { languages: const [LangAra()], translations: syrCountryTranslations, latLng: const LatLng(35, 38), - landlocked: false, bordersCodes: const ["Irq", "Isr", "Jor", "Lbn", "Tur"], areaMetric: 185180, demonyms: const [ @@ -16153,13 +14501,10 @@ class CountrySyr extends WorldCountry { fifa: "SYR", car: const Car(sign: "SYR"), timezones: const ["UTC+02:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Damascus"), latLng: LatLng(33.5, 36.3), ), - postalCode: null, regionalBlocs: const [BlocAL()], ); } @@ -16187,7 +14532,6 @@ class CountryTca extends WorldCountry { code: "TCA", codeNumeric: "796", codeShort: "TC", - cioc: null, independent: false, unMember: false, currencies: const [FiatUsd()], @@ -16198,8 +14542,6 @@ class CountryTca extends WorldCountry { languages: const [LangEng()], translations: tcaCountryTranslations, latLng: const LatLng(21.75, -71.58333333), - landlocked: false, - bordersCodes: null, areaMetric: 948, demonyms: const [ Demonyms( @@ -16214,12 +14556,10 @@ class CountryTca extends WorldCountry { openStreetMaps: "relation/547479", ), population: 38718, - gini: null, fifa: "TCA", car: const Car(sign: "GB", isRightSide: false), timezones: const ["UTC-04:00"], hasCoatOfArms: false, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Cockburn Town"), latLng: LatLng(21.46, -71.14), @@ -16228,7 +14568,6 @@ class CountryTca extends WorldCountry { format: "TKCA 1ZZ", regExpPattern: r"^(TKCA 1ZZ)$", ), - regionalBlocs: null, ); } @@ -16261,8 +14600,6 @@ class CountryTcd extends WorldCountry { codeNumeric: "148", codeShort: "TD", cioc: "CHA", - independent: true, - unMember: true, currencies: const [FiatXaf()], idd: const Idd(root: 2, suffixes: [35]), altSpellings: const [ @@ -16297,14 +14634,10 @@ class CountryTcd extends WorldCountry { fifa: "CHA", car: const Car(sign: "TCH/TD"), timezones: const ["UTC+01:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("N'Djamena"), latLng: LatLng(12.1, 15.03), ), - postalCode: null, - regionalBlocs: null, ); } @@ -16332,8 +14665,6 @@ class CountryTgo extends WorldCountry { codeNumeric: "768", codeShort: "TG", cioc: "TOG", - independent: true, - unMember: true, currencies: const [FiatXof()], idd: const Idd(root: 2, suffixes: [28]), altSpellings: const [ @@ -16347,15 +14678,10 @@ class CountryTgo extends WorldCountry { languages: const [LangFra()], translations: tgoCountryTranslations, latLng: const LatLng(8, 1.16666666), - landlocked: false, bordersCodes: const ["Ben", "Bfa", "Gha"], areaMetric: 56785, demonyms: const [ - Demonyms( - language: LangEng(), - female: "Togolese", - male: "Togolese", - ), + Demonyms(language: LangEng(), female: "Togolese", male: "Togolese"), Demonyms( language: LangFra(), female: "Togolaise", @@ -16372,14 +14698,10 @@ class CountryTgo extends WorldCountry { fifa: "TOG", car: const Car(sign: "TG"), timezones: const ["UTC+00:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Lomé"), latLng: LatLng(6.14, 1.21), ), - postalCode: null, - regionalBlocs: null, ); } @@ -16407,8 +14729,6 @@ class CountryTha extends WorldCountry { codeNumeric: "764", codeShort: "TH", cioc: "THA", - independent: true, - unMember: true, currencies: const [FiatThb()], idd: const Idd(root: 6, suffixes: [6]), altSpellings: const [ @@ -16424,7 +14744,6 @@ class CountryTha extends WorldCountry { languages: const [LangTha()], translations: thaCountryTranslations, latLng: const LatLng(15, 100), - landlocked: false, bordersCodes: const ["Mmr", "Khm", "Lao", "Mys"], areaMetric: 513120, demonyms: const [ @@ -16445,8 +14764,6 @@ class CountryTha extends WorldCountry { fifa: "THA", car: const Car(sign: "T", isRightSide: false), timezones: const ["UTC+07:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Bangkok"), latLng: LatLng(13.75, 100.52), @@ -16485,8 +14802,6 @@ class CountryTjk extends WorldCountry { codeNumeric: "762", codeShort: "TJ", cioc: "TJK", - independent: true, - unMember: true, currencies: const [FiatTjs()], idd: const Idd(root: 9, suffixes: [92]), altSpellings: const [ @@ -16518,15 +14833,12 @@ class CountryTjk extends WorldCountry { fifa: "TJK", car: const Car(sign: "TJ"), timezones: const ["UTC+05:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Dushanbe"), latLng: LatLng(38.55, 68.77), ), postalCode: const PostalCode(format: "######", regExpPattern: r"^(\d{6})$"), - regionalBlocs: null, ); } @@ -16558,7 +14870,6 @@ class CountryTkl extends WorldCountry { code: "TKL", codeNumeric: "772", codeShort: "TK", - cioc: null, independent: false, unMember: false, currencies: const [FiatNzd()], @@ -16569,8 +14880,6 @@ class CountryTkl extends WorldCountry { languages: const [LangEng(), LangSmo()], translations: tklCountryTranslations, latLng: const LatLng(-9, -172), - landlocked: false, - bordersCodes: null, areaMetric: 12, demonyms: const [ Demonyms( @@ -16585,18 +14894,13 @@ class CountryTkl extends WorldCountry { openStreetMaps: "relation/2186600", ), population: 1411, - gini: null, - fifa: null, car: const Car(isRightSide: false), timezones: const ["UTC+13:00"], hasCoatOfArms: false, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Fakaofo"), latLng: LatLng(-9.38, -171.22), ), - postalCode: null, - regionalBlocs: null, ); } @@ -16629,8 +14933,6 @@ class CountryTkm extends WorldCountry { codeNumeric: "795", codeShort: "TM", cioc: "TKM", - independent: true, - unMember: true, currencies: const [FiatTmt()], idd: const Idd(root: 9, suffixes: [93]), altSpellings: const ["TM"], @@ -16644,11 +14946,7 @@ class CountryTkm extends WorldCountry { areaMetric: 488100, demonyms: const [ Demonyms(language: LangEng(), female: "Turkmen", male: "Turkmen"), - Demonyms( - language: LangFra(), - female: "Turkmène", - male: "Turkmène", - ), + Demonyms(language: LangFra(), female: "Turkmène", male: "Turkmène"), ], emoji: "🇹🇲", maps: const Maps( @@ -16660,15 +14958,12 @@ class CountryTkm extends WorldCountry { fifa: "TKM", car: const Car(sign: "TM"), timezones: const ["UTC+05:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Ashgabat"), latLng: LatLng(37.95, 58.38), ), postalCode: const PostalCode(format: "######", regExpPattern: r"^(\d{6})$"), - regionalBlocs: null, ); } @@ -16696,8 +14991,6 @@ class CountryTls extends WorldCountry { codeNumeric: "626", codeShort: "TL", cioc: "TLS", - independent: true, - unMember: true, currencies: const [FiatUsd()], idd: const Idd(root: 6, suffixes: [70]), altSpellings: const [ @@ -16714,7 +15007,6 @@ class CountryTls extends WorldCountry { languages: const [LangPor()], translations: tlsCountryTranslations, latLng: const LatLng(-8.83333333, 125.91666666), - landlocked: false, bordersCodes: const ["Idn"], areaMetric: 14874, demonyms: const [ @@ -16740,13 +15032,10 @@ class CountryTls extends WorldCountry { car: const Car(sign: "TL", isRightSide: false), timezones: const ["UTC+09:00"], hasCoatOfArms: false, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Dili"), latLng: LatLng(-8.58, 125.6), ), - postalCode: null, - regionalBlocs: null, ); } @@ -16779,8 +15068,6 @@ class CountryTon extends WorldCountry { codeNumeric: "776", codeShort: "TO", cioc: "TGA", - independent: true, - unMember: true, currencies: const [FiatTop()], idd: const Idd(root: 6, suffixes: [76]), altSpellings: const ["TO"], @@ -16789,8 +15076,6 @@ class CountryTon extends WorldCountry { languages: const [LangEng(), LangTon()], translations: tonCountryTranslations, latLng: const LatLng(-20, -175), - landlocked: false, - bordersCodes: null, areaMetric: 747, demonyms: const [ Demonyms(language: LangEng(), female: "Tongan", male: "Tongan"), @@ -16810,14 +15095,10 @@ class CountryTon extends WorldCountry { fifa: "TGA", car: const Car(sign: "TO", isRightSide: false), timezones: const ["UTC+13:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Nuku'alofa"), latLng: LatLng(-21.13, -175.2), ), - postalCode: null, - regionalBlocs: null, ); } @@ -16845,8 +15126,6 @@ class CountryTto extends WorldCountry { codeNumeric: "780", codeShort: "TT", cioc: "TTO", - independent: true, - unMember: true, currencies: const [FiatTtd()], idd: const Idd(root: 1, suffixes: [868]), altSpellings: const ["TT", "Republic of Trinidad and Tobago"], @@ -16855,8 +15134,6 @@ class CountryTto extends WorldCountry { languages: const [LangEng()], translations: ttoCountryTranslations, latLng: const LatLng(10.6918, -61.2225), - landlocked: false, - bordersCodes: null, areaMetric: 5130, demonyms: const [ Demonyms( @@ -16880,13 +15157,10 @@ class CountryTto extends WorldCountry { fifa: "TRI", car: const Car(sign: "TT", isRightSide: false), timezones: const ["UTC-04:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Port of Spain"), latLng: LatLng(10.65, -61.52), ), - postalCode: null, regionalBlocs: const [BlocCARICOM()], ); } @@ -16915,8 +15189,6 @@ class CountryTun extends WorldCountry { codeNumeric: "788", codeShort: "TN", cioc: "TUN", - independent: true, - unMember: true, currencies: const [FiatTnd()], idd: const Idd(root: 2, suffixes: [16]), altSpellings: const [ @@ -16929,15 +15201,10 @@ class CountryTun extends WorldCountry { languages: const [LangAra()], translations: tunCountryTranslations, latLng: const LatLng(34, 9), - landlocked: false, bordersCodes: const ["Dza", "Lby"], areaMetric: 163610, demonyms: const [ - Demonyms( - language: LangEng(), - female: "Tunisian", - male: "Tunisian", - ), + Demonyms(language: LangEng(), female: "Tunisian", male: "Tunisian"), Demonyms( language: LangFra(), female: "Tunisienne", @@ -16954,8 +15221,6 @@ class CountryTun extends WorldCountry { fifa: "TUN", car: const Car(sign: "TN"), timezones: const ["UTC+01:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Tunis"), latLng: LatLng(36.8, 10.18), @@ -16990,8 +15255,6 @@ class CountryTur extends WorldCountry { codeNumeric: "792", codeShort: "TR", cioc: "TUR", - independent: true, - unMember: true, currencies: const [FiatTry()], idd: const Idd(root: 9, suffixes: [0]), altSpellings: const [ @@ -17005,7 +15268,6 @@ class CountryTur extends WorldCountry { languages: const [LangTur()], translations: turCountryTranslations, latLng: const LatLng(39, 35), - landlocked: false, bordersCodes: const [ "Arm", "Aze", @@ -17031,14 +15293,11 @@ class CountryTur extends WorldCountry { fifa: "TUR", car: const Car(sign: "TR"), timezones: const ["UTC+03:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Ankara"), latLng: LatLng(39.93, 32.87), ), postalCode: const PostalCode(), - regionalBlocs: null, ); } @@ -17066,8 +15325,6 @@ class CountryTuv extends WorldCountry { codeNumeric: "798", codeShort: "TV", cioc: "TUV", - independent: true, - unMember: true, currencies: const [FiatAud()], idd: const Idd(root: 6, suffixes: [88]), altSpellings: const ["TV"], @@ -17076,15 +15333,9 @@ class CountryTuv extends WorldCountry { languages: const [LangEng()], translations: tuvCountryTranslations, latLng: const LatLng(-8, 178), - landlocked: false, - bordersCodes: null, areaMetric: 26, demonyms: const [ - Demonyms( - language: LangEng(), - female: "Tuvaluan", - male: "Tuvaluan", - ), + Demonyms(language: LangEng(), female: "Tuvaluan", male: "Tuvaluan"), Demonyms( language: LangFra(), female: "Tuvaluane", @@ -17098,17 +15349,12 @@ class CountryTuv extends WorldCountry { ), population: 11792, gini: const Gini(year: 2010, coefficient: 39.1), - fifa: null, car: const Car(sign: "TUV", isRightSide: false), timezones: const ["UTC+12:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Funafuti"), latLng: LatLng(-8.52, 179.22), ), - postalCode: null, - regionalBlocs: null, ); } @@ -17149,8 +15395,6 @@ class CountryTwn extends WorldCountry { languages: const [LangZho()], translations: twnCountryTranslations, latLng: const LatLng(23.5, 121), - landlocked: false, - bordersCodes: null, areaMetric: 36193, demonyms: const [ Demonyms( @@ -17170,18 +15414,14 @@ class CountryTwn extends WorldCountry { openStreetMaps: "relation/449220", ), population: 23503349, - gini: null, fifa: "TPE", car: const Car(sign: "RC"), timezones: const ["UTC+08:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Taipei"), latLng: LatLng(25.03, 121.52), ), postalCode: const PostalCode(), - regionalBlocs: null, ); } @@ -17214,8 +15454,6 @@ class CountryTza extends WorldCountry { codeNumeric: "834", codeShort: "TZ", cioc: "TAN", - independent: true, - unMember: true, currencies: const [FiatTzs()], idd: const Idd(root: 2, suffixes: [55]), altSpellings: const [ @@ -17229,7 +15467,6 @@ class CountryTza extends WorldCountry { languages: const [LangEng(), LangSwa()], translations: tzaCountryTranslations, latLng: const LatLng(-6, 35), - landlocked: false, bordersCodes: const [ "Bdi", "Cod", @@ -17263,13 +15500,10 @@ class CountryTza extends WorldCountry { fifa: "TAN", car: const Car(sign: "EAT", isRightSide: false), timezones: const ["UTC+03:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Dodoma"), latLng: LatLng(-6.16, 35.75), ), - postalCode: null, regionalBlocs: const [BlocAU()], ); } @@ -17303,15 +15537,9 @@ class CountryUga extends WorldCountry { codeNumeric: "800", codeShort: "UG", cioc: "UGA", - independent: true, - unMember: true, currencies: const [FiatUgx()], idd: const Idd(root: 2, suffixes: [56]), - altSpellings: const [ - "UG", - "Republic of Uganda", - "Jamhuri ya Uganda", - ], + altSpellings: const ["UG", "Republic of Uganda", "Jamhuri ya Uganda"], continent: const Africa(), subregion: const EasternAfrica(), languages: const [LangEng(), LangSwa()], @@ -17338,13 +15566,10 @@ class CountryUga extends WorldCountry { fifa: "UGA", car: const Car(sign: "EAU", isRightSide: false), timezones: const ["UTC+03:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Kampala"), latLng: LatLng(0.32, 32.55), ), - postalCode: null, regionalBlocs: const [BlocAU()], ); } @@ -17373,8 +15598,6 @@ class CountryUkr extends WorldCountry { codeNumeric: "804", codeShort: "UA", cioc: "UKR", - independent: true, - unMember: true, currencies: const [FiatUah()], idd: const Idd(root: 3, suffixes: [80]), altSpellings: const ["UA", "Ukrayina", "Украина"], @@ -17383,16 +15606,7 @@ class CountryUkr extends WorldCountry { languages: const [LangUkr()], translations: ukrCountryTranslations, latLng: const LatLng(49, 32), - landlocked: false, - bordersCodes: const [ - "Blr", - "Hun", - "Mda", - "Pol", - "Rou", - "Rus", - "Svk", - ], + bordersCodes: const ["Blr", "Hun", "Mda", "Pol", "Rou", "Rus", "Svk"], areaMetric: 603500, demonyms: const [ Demonyms( @@ -17416,14 +15630,11 @@ class CountryUkr extends WorldCountry { fifa: "UKR", car: const Car(sign: "UA"), timezones: const ["UTC+02:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Kyiv"), latLng: LatLng(50.43, 30.52), ), postalCode: const PostalCode(), - regionalBlocs: null, ); } @@ -17450,7 +15661,6 @@ class CountryUmi extends WorldCountry { code: "UMI", codeNumeric: "581", codeShort: "UM", - cioc: null, independent: false, unMember: false, currencies: const [FiatUsd()], @@ -17461,8 +15671,6 @@ class CountryUmi extends WorldCountry { languages: const [LangEng()], translations: umiCountryTranslations, latLng: const LatLng(19.3, 166.633333), - landlocked: false, - bordersCodes: null, areaMetric: 34.2, demonyms: const [ Demonyms( @@ -17477,18 +15685,13 @@ class CountryUmi extends WorldCountry { openStreetMaps: "relation/6430384", ), population: 300, - gini: null, - fifa: null, car: const Car(), timezones: const ["UTC-11:00", "UTC-10:00", "UTC+12:00"], hasCoatOfArms: false, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Washington DC"), latLng: LatLng(38.9072, 77.0369), ), - postalCode: null, - regionalBlocs: null, ); } @@ -17516,8 +15719,6 @@ class CountryUry extends WorldCountry { codeNumeric: "858", codeShort: "UY", cioc: "URU", - independent: true, - unMember: true, currencies: const [FiatUyu()], idd: const Idd(root: 5, suffixes: [98]), altSpellings: const [ @@ -17530,7 +15731,6 @@ class CountryUry extends WorldCountry { languages: const [LangSpa()], translations: uryCountryTranslations, latLng: const LatLng(-33, -56), - landlocked: false, bordersCodes: const ["Arg", "Bra"], areaMetric: 181034, demonyms: const [ @@ -17555,8 +15755,6 @@ class CountryUry extends WorldCountry { fifa: "URU", car: const Car(sign: "ROU"), timezones: const ["UTC-03:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Montevideo"), latLng: LatLng(-34.85, -56.17), @@ -17590,8 +15788,6 @@ class CountryUsa extends WorldCountry { codeNumeric: "840", codeShort: "US", cioc: "USA", - independent: true, - unMember: true, currencies: const [FiatUsd()], idd: const Idd( root: 1, @@ -17921,15 +16117,10 @@ class CountryUsa extends WorldCountry { languages: const [LangEng()], translations: usaCountryTranslations, latLng: const LatLng(38, -97), - landlocked: false, bordersCodes: const ["Can", "Mex"], areaMetric: 9372610, demonyms: const [ - Demonyms( - language: LangEng(), - female: "American", - male: "American", - ), + Demonyms(language: LangEng(), female: "American", male: "American"), Demonyms( language: LangFra(), female: "Américaine", @@ -17958,7 +16149,6 @@ class CountryUsa extends WorldCountry { "UTC+10:00", "UTC+12:00", ], - hasCoatOfArms: true, startOfWeek: Weekday.sunday, capitalInfo: const CapitalInfo( capital: Capital("Washington, D.C."), @@ -18001,8 +16191,6 @@ class CountryUzb extends WorldCountry { codeNumeric: "860", codeShort: "UZ", cioc: "UZB", - independent: true, - unMember: true, currencies: const [FiatUzs()], idd: const Idd(root: 9, suffixes: [98]), altSpellings: const [ @@ -18037,15 +16225,12 @@ class CountryUzb extends WorldCountry { fifa: "UZB", car: const Car(sign: "UZ"), timezones: const ["UTC+05:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Tashkent"), latLng: LatLng(41.32, 69.25), ), postalCode: const PostalCode(format: "######", regExpPattern: r"^(\d{6})$"), - regionalBlocs: null, ); } @@ -18077,8 +16262,6 @@ class CountryVat extends WorldCountry { code: "VAT", codeNumeric: "336", codeShort: "VA", - cioc: null, - independent: true, unMember: false, currencies: const [FiatEur()], idd: const Idd(root: 3, suffixes: [79]), @@ -18106,18 +16289,12 @@ class CountryVat extends WorldCountry { openStreetMaps: "relation/36989", ), population: 451, - gini: null, - fifa: null, car: const Car(sign: "V"), timezones: const ["UTC+01:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Vatican City"), latLng: LatLng(41.9, 12.45), ), - postalCode: null, - regionalBlocs: null, ); } @@ -18145,8 +16322,6 @@ class CountryVct extends WorldCountry { codeNumeric: "670", codeShort: "VC", cioc: "VIN", - independent: true, - unMember: true, currencies: const [FiatXcd()], idd: const Idd(root: 1, suffixes: [784]), altSpellings: const ["VC"], @@ -18155,8 +16330,6 @@ class CountryVct extends WorldCountry { languages: const [LangEng()], translations: vctCountryTranslations, latLng: const LatLng(13.25, -61.2), - landlocked: false, - bordersCodes: null, areaMetric: 389, demonyms: const [ Demonyms( @@ -18176,17 +16349,13 @@ class CountryVct extends WorldCountry { openStreetMaps: "relation/550725", ), population: 110947, - gini: null, fifa: "VIN", car: const Car(sign: "WV", isRightSide: false), timezones: const ["UTC-04:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Kingstown"), latLng: LatLng(13.13, -61.22), ), - postalCode: null, regionalBlocs: const [BlocCARICOM()], ); } @@ -18215,8 +16384,6 @@ class CountryVen extends WorldCountry { codeNumeric: "862", codeShort: "VE", cioc: "VEN", - independent: true, - unMember: true, currencies: const [FiatVes()], idd: const Idd(root: 5, suffixes: [8]), altSpellings: const [ @@ -18230,7 +16397,6 @@ class CountryVen extends WorldCountry { languages: const [LangSpa()], translations: venCountryTranslations, latLng: const LatLng(8, -66), - landlocked: false, bordersCodes: const ["Bra", "Col", "Guy"], areaMetric: 916445, demonyms: const [ @@ -18255,8 +16421,6 @@ class CountryVen extends WorldCountry { fifa: "VEN", car: const Car(sign: "YV"), timezones: const ["UTC-04:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Caracas"), latLng: LatLng(10.48, -66.87), @@ -18301,8 +16465,6 @@ class CountryVgb extends WorldCountry { languages: const [LangEng()], translations: vgbCountryTranslations, latLng: const LatLng(18.431383, -64.62305), - landlocked: false, - bordersCodes: null, areaMetric: 151, demonyms: const [ Demonyms( @@ -18317,18 +16479,13 @@ class CountryVgb extends WorldCountry { openStreetMaps: "relation/285454", ), population: 30237, - gini: null, fifa: "VGB", car: const Car(sign: "BVI", isRightSide: false), timezones: const ["UTC-04:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Road Town"), latLng: LatLng(18.42, -64.62), ), - postalCode: null, - regionalBlocs: null, ); } @@ -18366,8 +16523,6 @@ class CountryVir extends WorldCountry { languages: const [LangEng()], translations: virCountryTranslations, latLng: const LatLng(18.35, -64.933333), - landlocked: false, - bordersCodes: null, areaMetric: 347, demonyms: const [ Demonyms( @@ -18382,18 +16537,14 @@ class CountryVir extends WorldCountry { openStreetMaps: "relation/286898", ), population: 106290, - gini: null, fifa: "VIR", car: const Car(sign: "USA"), timezones: const ["UTC-04:00"], hasCoatOfArms: false, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Charlotte Amalie"), latLng: LatLng(18.35, -64.93), ), - postalCode: null, - regionalBlocs: null, ); } @@ -18421,8 +16572,6 @@ class CountryVnm extends WorldCountry { codeNumeric: "704", codeShort: "VN", cioc: "VIE", - independent: true, - unMember: true, currencies: const [FiatVnd()], idd: const Idd(root: 8, suffixes: [4]), altSpellings: const [ @@ -18436,7 +16585,6 @@ class CountryVnm extends WorldCountry { languages: const [LangVie()], translations: vnmCountryTranslations, latLng: const LatLng(16.16666666, 107.83333333), - landlocked: false, bordersCodes: const ["Khm", "Chn", "Lao"], areaMetric: 331212, demonyms: const [ @@ -18461,8 +16609,6 @@ class CountryVnm extends WorldCountry { fifa: "VIE", car: const Car(sign: "VN"), timezones: const ["UTC+07:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Hanoi"), latLng: LatLng(21.03, 105.85), @@ -18507,8 +16653,6 @@ class CountryVut extends WorldCountry { codeNumeric: "548", codeShort: "VU", cioc: "VAN", - independent: true, - unMember: true, currencies: const [FiatVuv()], idd: const Idd(root: 6, suffixes: [78]), altSpellings: const [ @@ -18522,8 +16666,6 @@ class CountryVut extends WorldCountry { languages: const [LangBis(), LangEng(), LangFra()], translations: vutCountryTranslations, latLng: const LatLng(-16, 167), - landlocked: false, - bordersCodes: null, areaMetric: 12189, demonyms: const [ Demonyms( @@ -18547,14 +16689,10 @@ class CountryVut extends WorldCountry { fifa: "VAN", car: const Car(sign: "VU"), timezones: const ["UTC+11:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Port Vila"), latLng: LatLng(-17.73, 168.32), ), - postalCode: null, - regionalBlocs: null, ); } @@ -18581,7 +16719,6 @@ class CountryWlf extends WorldCountry { code: "WLF", codeNumeric: "876", codeShort: "WF", - cioc: null, independent: false, unMember: false, currencies: const [FiatXpf()], @@ -18596,8 +16733,6 @@ class CountryWlf extends WorldCountry { languages: const [LangFra()], translations: wlfCountryTranslations, latLng: const LatLng(-13.3, -176.2), - landlocked: false, - bordersCodes: null, areaMetric: 142, demonyms: const [ Demonyms( @@ -18612,18 +16747,14 @@ class CountryWlf extends WorldCountry { openStreetMaps: "relation/3412448", ), population: 11750, - gini: null, - fifa: null, car: const Car(sign: "F"), timezones: const ["UTC+12:00"], hasCoatOfArms: false, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Mata-Utu"), latLng: LatLng(-13.95, -171.93), ), postalCode: const PostalCode(regExpPattern: r"^(986\d{2})$"), - regionalBlocs: null, ); } @@ -18656,8 +16787,6 @@ class CountryWsm extends WorldCountry { codeNumeric: "882", codeShort: "WS", cioc: "SAM", - independent: true, - unMember: true, currencies: const [FiatWst()], idd: const Idd(root: 6, suffixes: [85]), altSpellings: const [ @@ -18670,8 +16799,6 @@ class CountryWsm extends WorldCountry { languages: const [LangEng(), LangSmo()], translations: wsmCountryTranslations, latLng: const LatLng(-13.58333333, -172.33333333), - landlocked: false, - bordersCodes: null, areaMetric: 2842, demonyms: const [ Demonyms(language: LangEng(), female: "Samoan", male: "Samoan"), @@ -18687,14 +16814,10 @@ class CountryWsm extends WorldCountry { fifa: "SAM", car: const Car(sign: "WS", isRightSide: false), timezones: const ["UTC+13:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Apia"), latLng: LatLng(-13.82, -171.77), ), - postalCode: null, - regionalBlocs: null, ); } @@ -18722,8 +16845,6 @@ class CountryYem extends WorldCountry { codeNumeric: "887", codeShort: "YE", cioc: "YEM", - independent: true, - unMember: true, currencies: const [FiatYer()], idd: const Idd(root: 9, suffixes: [67]), altSpellings: const [ @@ -18736,16 +16857,11 @@ class CountryYem extends WorldCountry { languages: const [LangAra()], translations: yemCountryTranslations, latLng: const LatLng(15, 48), - landlocked: false, bordersCodes: const ["Omn", "Sau"], areaMetric: 527968, demonyms: const [ Demonyms(language: LangEng(), female: "Yemeni", male: "Yemeni"), - Demonyms( - language: LangFra(), - female: "Yéménite", - male: "Yéménite", - ), + Demonyms(language: LangFra(), female: "Yéménite", male: "Yéménite"), ], emoji: "🇾🇪", maps: const Maps( @@ -18757,13 +16873,11 @@ class CountryYem extends WorldCountry { fifa: "YEM", car: const Car(sign: "YAR"), timezones: const ["UTC+03:00"], - hasCoatOfArms: true, startOfWeek: Weekday.sunday, capitalInfo: const CapitalInfo( capital: Capital("Sana'a"), latLng: LatLng(15.37, 44.19), ), - postalCode: null, regionalBlocs: const [BlocAL()], ); } @@ -18837,8 +16951,6 @@ class CountryZaf extends WorldCountry { codeNumeric: "710", codeShort: "ZA", cioc: "RSA", - independent: true, - unMember: true, currencies: const [FiatZar()], idd: const Idd(root: 2, suffixes: [7]), altSpellings: const [ @@ -18863,7 +16975,6 @@ class CountryZaf extends WorldCountry { ], translations: zafCountryTranslations, latLng: const LatLng(-29, 24), - landlocked: false, bordersCodes: const ["Bwa", "Lso", "Moz", "Nam", "Swz", "Zwe"], areaMetric: 1221037, demonyms: const [ @@ -18888,8 +16999,6 @@ class CountryZaf extends WorldCountry { fifa: "RSA", car: const Car(sign: "ZA", isRightSide: false), timezones: const ["UTC+02:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital( "Pretoria", @@ -18928,8 +17037,6 @@ class CountryZmb extends WorldCountry { codeNumeric: "894", codeShort: "ZM", cioc: "ZAM", - independent: true, - unMember: true, currencies: const [FiatZmw()], idd: const Idd(root: 2, suffixes: [60]), altSpellings: const ["ZM", "Republic of Zambia"], @@ -18952,11 +17059,7 @@ class CountryZmb extends WorldCountry { areaMetric: 752612, demonyms: const [ Demonyms(language: LangEng(), female: "Zambian", male: "Zambian"), - Demonyms( - language: LangFra(), - female: "Zambienne", - male: "Zambien", - ), + Demonyms(language: LangFra(), female: "Zambienne", male: "Zambien"), ], emoji: "🇿🇲", maps: const Maps( @@ -18968,8 +17071,6 @@ class CountryZmb extends WorldCountry { fifa: "ZAM", car: const Car(sign: "RNR", isRightSide: false), timezones: const ["UTC+02:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Lusaka"), latLng: LatLng(-15.42, 28.28), @@ -19023,8 +17124,6 @@ class CountryZwe extends WorldCountry { codeNumeric: "716", codeShort: "ZW", cioc: "ZIM", - independent: true, - unMember: true, currencies: const [FiatGbp(), FiatZwl()], idd: const Idd(root: 2, suffixes: [63]), altSpellings: const ["ZW", "Republic of Zimbabwe"], @@ -19068,13 +17167,10 @@ class CountryZwe extends WorldCountry { fifa: "ZIM", car: const Car(sign: "ZW", isRightSide: false), timezones: const ["UTC+02:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Harare"), latLng: LatLng(-17.82, 31.03), ), - postalCode: null, regionalBlocs: const [BlocAU()], ); } diff --git a/packages/sealed_countries/lib/src/data/other_world_countries.data.dart b/packages/sealed_countries/lib/src/data/other_world_countries.data.dart index d6f90048..5d50c1de 100644 --- a/packages/sealed_countries/lib/src/data/other_world_countries.data.dart +++ b/packages/sealed_countries/lib/src/data/other_world_countries.data.dart @@ -4,7 +4,6 @@ import "package:sealed_currencies/sealed_currencies.dart"; -import "../../country_translations.dart"; import "../model/country/country.dart"; import "../model/country/submodels/capital.dart"; import "../model/country/submodels/capital_info.dart"; @@ -15,7 +14,7 @@ import "../model/country/submodels/gini.dart"; import "../model/country/submodels/idd.dart"; import "../model/country/submodels/lat_lng.dart"; import "../model/country/submodels/maps.dart"; -import "../model/country/submodels/weekday.dart"; +import "../translations/unk_country.l10n.dart"; import "geo/continental_sections.data.dart"; import "geo/continents.data.dart"; import "regional_bloc/regional_bloc.data.dart"; @@ -48,7 +47,6 @@ class CountryUnk extends WorldCountry { codeNumeric: " ", codeShort: "XK", cioc: "KOS", - independent: true, unMember: false, currencies: const [FiatEur()], idd: const Idd(root: 3, suffixes: [83]), @@ -75,13 +73,10 @@ class CountryUnk extends WorldCountry { fifa: "KVX", car: const Car(sign: "CS"), timezones: const ["UTC+01:00"], - hasCoatOfArms: true, - startOfWeek: Weekday.monday, capitalInfo: const CapitalInfo( capital: Capital("Pristina"), latLng: LatLng(42.67, 21.17), ), - postalCode: null, regionalBlocs: const [BlocCEFTA()], ); } diff --git a/packages/sealed_countries/lib/src/data/regional_bloc/regional_bloc.data.dart b/packages/sealed_countries/lib/src/data/regional_bloc/regional_bloc.data.dart index ac7e3bdf..679414ab 100644 --- a/packages/sealed_countries/lib/src/data/regional_bloc/regional_bloc.data.dart +++ b/packages/sealed_countries/lib/src/data/regional_bloc/regional_bloc.data.dart @@ -1,8 +1,9 @@ import "../../model/regional_bloc/world_bloc.dart"; -/// {@hideConstantImplementations} +/// Represents the South Asian Association for Regional Cooperation. class BlocSAARC extends RegionalBloc { - /// Represents the South Asian Association for Regional Cooperation. + /// Creates an instance of the South Asian Association + /// for Regional Cooperation. const BlocSAARC() : super( acronym: "SAARC", @@ -10,15 +11,15 @@ class BlocSAARC extends RegionalBloc { ); } -/// {@hideConstantImplementations} +/// Represents the European Union. class BlocEU extends RegionalBloc { - /// Represents the European Union. + /// Creates an instance of the European Union. const BlocEU() : super(acronym: "EU", name: "European Union"); } -/// {@hideConstantImplementations} +/// Represents the Central European Free Trade Agreement. class BlocCEFTA extends RegionalBloc { - /// Represents the Central European Free Trade Agreement. + /// Creates an instance of the Central European Free Trade Agreement. const BlocCEFTA() : super( acronym: "CEFTA", @@ -26,9 +27,9 @@ class BlocCEFTA extends RegionalBloc { ); } -/// {@hideConstantImplementations} +/// Represents the African Union. class BlocAU extends RegionalBloc { - /// Represents the African Union. + /// Creates an instance of the African Union. const BlocAU() : super( acronym: "AU", @@ -43,9 +44,9 @@ class BlocAU extends RegionalBloc { ); } -/// {@hideConstantImplementations} +/// Represents the Arab League. class BlocAL extends RegionalBloc { - /// Represents the Arab League. + /// Creates an instance of the Arab League. const BlocAL() : super( acronym: "AL", @@ -58,9 +59,9 @@ class BlocAL extends RegionalBloc { ); } -/// {@hideConstantImplementations} +/// Represents the Caribbean Community. class BlocCARICOM extends RegionalBloc { - /// Represents the Caribbean Community. + /// Creates an instance of the Caribbean Community. const BlocCARICOM() : super( acronym: "CARICOM", @@ -73,9 +74,9 @@ class BlocCARICOM extends RegionalBloc { ); } -/// {@hideConstantImplementations} +/// Represents the Central American Integration System. class BlocCAIS extends RegionalBloc { - /// Represents the Central American Integration System. + /// Creates an instance of the Central American Integration System. const BlocCAIS() : super( acronym: "CAIS", @@ -85,9 +86,9 @@ class BlocCAIS extends RegionalBloc { ); } -/// {@hideConstantImplementations} +/// Represents the Union of South American Nations. class BlocUSAN extends RegionalBloc { - /// Represents the Union of South American Nations. + /// Creates an instance of the Union of South American Nations. const BlocUSAN() : super( acronym: "USAN", @@ -102,9 +103,9 @@ class BlocUSAN extends RegionalBloc { ); } -/// {@hideConstantImplementations} +/// Represents the Eurasian Economic Union. class BlocEEU extends RegionalBloc { - /// Represents the Eurasian Economic Union. + /// Creates an instance of the Eurasian Economic Union. const BlocEEU() : super( acronym: "EEU", @@ -113,16 +114,16 @@ class BlocEEU extends RegionalBloc { ); } -/// {@hideConstantImplementations} +/// Represents the Association of Southeast Asian Nations. class BlocASEAN extends RegionalBloc { - /// Represents the Association of Southeast Asian Nations. + /// Creates an instance of the Association of Southeast Asian Nations. const BlocASEAN() : super(acronym: "ASEAN", name: "Association of Southeast Asian Nations"); } -/// {@hideConstantImplementations} +/// Represents the North American Free Trade Agreement. class BlocNAFTA extends RegionalBloc { - /// Represents the North American Free Trade Agreement. + /// Creates an instance of the North American Free Trade Agreement. const BlocNAFTA() : super( acronym: "NAFTA", @@ -134,9 +135,9 @@ class BlocNAFTA extends RegionalBloc { ); } -/// {@hideConstantImplementations} +/// Represents the Pacific Alliance. class BlocPA extends RegionalBloc { - /// Represents the Pacific Alliance. + /// Creates an instance of the Pacific Alliance. const BlocPA() : super( acronym: "PA", @@ -145,9 +146,9 @@ class BlocPA extends RegionalBloc { ); } -/// {@hideConstantImplementations} +/// Represents the European Free Trade Association. class BlocEFTA extends RegionalBloc { - /// Represents the European Free Trade Association. + /// Creates an instance of the European Free Trade Association. const BlocEFTA() : super(acronym: "EFTA", name: "European Free Trade Association"); } diff --git a/packages/sealed_countries/lib/src/helpers/extensions/country_submodels/capital_extension.dart b/packages/sealed_countries/lib/src/helpers/extensions/country_submodels/capital_extension.dart index da822849..d2fa98f0 100644 --- a/packages/sealed_countries/lib/src/helpers/extensions/country_submodels/capital_extension.dart +++ b/packages/sealed_countries/lib/src/helpers/extensions/country_submodels/capital_extension.dart @@ -28,8 +28,8 @@ extension CapitalExtension on Capital { /// {@macro from_map_method} static Capital fromMap(JsonMap map) => Capital( - map["deFacto"] as String, - deJure: map["deJure"] as String?, - third: map["third"] as String?, + map["deFacto"].toString(), + deJure: map["deJure"]?.toString(), + third: map["third"]?.toString(), ); } diff --git a/packages/sealed_countries/lib/src/helpers/extensions/country_submodels/capital_info_extension.dart b/packages/sealed_countries/lib/src/helpers/extensions/country_submodels/capital_info_extension.dart index 07fd4490..e3e6f57d 100644 --- a/packages/sealed_countries/lib/src/helpers/extensions/country_submodels/capital_info_extension.dart +++ b/packages/sealed_countries/lib/src/helpers/extensions/country_submodels/capital_info_extension.dart @@ -1,3 +1,5 @@ +// ignore_for_file: avoid-type-casts + import "package:sealed_currencies/sealed_currencies.dart"; import "../../../model/country/submodels/capital.dart"; diff --git a/packages/sealed_countries/lib/src/helpers/extensions/country_submodels/car_extension.dart b/packages/sealed_countries/lib/src/helpers/extensions/country_submodels/car_extension.dart index 8f6e3964..cfc49eb9 100644 --- a/packages/sealed_countries/lib/src/helpers/extensions/country_submodels/car_extension.dart +++ b/packages/sealed_countries/lib/src/helpers/extensions/country_submodels/car_extension.dart @@ -16,7 +16,8 @@ extension CarExtension on Car { /// {@macro from_map_method} static Car fromMap(JsonMap map) => Car( - sign: map["sign"] as String?, + sign: map["sign"]?.toString(), + // ignore: avoid-type-casts, it's JSON map. isRightSide: map["isRightSide"] as bool, ); } diff --git a/packages/sealed_countries/lib/src/helpers/extensions/country_submodels/country_name_extension.dart b/packages/sealed_countries/lib/src/helpers/extensions/country_submodels/country_name_extension.dart index ab2c1fa2..ea7a7311 100644 --- a/packages/sealed_countries/lib/src/helpers/extensions/country_submodels/country_name_extension.dart +++ b/packages/sealed_countries/lib/src/helpers/extensions/country_submodels/country_name_extension.dart @@ -15,8 +15,8 @@ extension CountryNameExtension on CountryName { /// {@macro to_map_method} static CountryName fromMap(JsonMap map) => CountryName( language: NaturalLanguage.fromCode(map["language"].toString()), - official: map["official"] as String, - common: map["common"] as String, + official: map["official"].toString(), + common: map["common"].toString(), ); /// {@macro copy_with_method} @@ -33,8 +33,8 @@ extension CountryNameExtension on CountryName { /// {@macro to_map_method} JsonObjectMap toMap() => { + "common": name, "language": language.code, "official": fullName, - "common": name, }; } diff --git a/packages/sealed_countries/lib/src/helpers/extensions/country_submodels/demonyms_extension.dart b/packages/sealed_countries/lib/src/helpers/extensions/country_submodels/demonyms_extension.dart index aa0de2e3..0a43caf8 100644 --- a/packages/sealed_countries/lib/src/helpers/extensions/country_submodels/demonyms_extension.dart +++ b/packages/sealed_countries/lib/src/helpers/extensions/country_submodels/demonyms_extension.dart @@ -38,12 +38,12 @@ extension DemonymsExtension on Demonyms { /// {@macro to_map_method} JsonObjectMap toMap() => - {"language": language.code, "female": female, "male": male}; + {"female": female, "language": language.code, "male": male}; /// {@macro from_map_method} static Demonyms fromMap(JsonMap map) => Demonyms( language: NaturalLanguage.fromCode(map["language"].toString()), - female: map["female"] as String, - male: map["male"] as String, + female: map["female"].toString(), + male: map["male"].toString(), ); } diff --git a/packages/sealed_countries/lib/src/helpers/extensions/country_submodels/gini_extension.dart b/packages/sealed_countries/lib/src/helpers/extensions/country_submodels/gini_extension.dart index 8361809c..e9f719a0 100644 --- a/packages/sealed_countries/lib/src/helpers/extensions/country_submodels/gini_extension.dart +++ b/packages/sealed_countries/lib/src/helpers/extensions/country_submodels/gini_extension.dart @@ -1,3 +1,5 @@ +// ignore_for_file: avoid-type-casts + import "package:sealed_currencies/sealed_currencies.dart"; import "../../../model/country/submodels/gini.dart"; @@ -27,7 +29,7 @@ extension GiniExtension on Gini { ); /// {@macro to_map_method} - Map toMap() => {"year": year, "coefficient": coefficient}; + Map toMap() => {"coefficient": coefficient, "year": year}; /// {@macro from_map_method} static Gini fromMap(JsonMap map) => Gini( diff --git a/packages/sealed_countries/lib/src/helpers/extensions/country_submodels/idd_extension.dart b/packages/sealed_countries/lib/src/helpers/extensions/country_submodels/idd_extension.dart index 955061a4..fe898b07 100644 --- a/packages/sealed_countries/lib/src/helpers/extensions/country_submodels/idd_extension.dart +++ b/packages/sealed_countries/lib/src/helpers/extensions/country_submodels/idd_extension.dart @@ -1,3 +1,5 @@ +// ignore_for_file: avoid-type-casts + import "package:sealed_currencies/sealed_currencies.dart"; import "../../../model/country/submodels/idd.dart"; @@ -21,7 +23,7 @@ extension IddExtension on Idd { /// Returns a string representation of the phone code for this `Idd` object. /// - /// The returned string has the format "", where + /// The returned string has the format ``, where /// `` is the given `leading` parameter (defaults to `+`), `` /// is the `root` field of this `Idd` object, and `` is the first /// value in the `suffixes` list of this `Idd` object if it has a single diff --git a/packages/sealed_countries/lib/src/helpers/extensions/country_submodels/lat_lng_extension.dart b/packages/sealed_countries/lib/src/helpers/extensions/country_submodels/lat_lng_extension.dart index bab691fa..19b79e2c 100644 --- a/packages/sealed_countries/lib/src/helpers/extensions/country_submodels/lat_lng_extension.dart +++ b/packages/sealed_countries/lib/src/helpers/extensions/country_submodels/lat_lng_extension.dart @@ -14,5 +14,6 @@ extension LatLngExtension on LatLng { /// {@macro from_map_method} static LatLng fromMap(JsonMap map) => + // ignore: avoid-type-casts, it's JSON map. LatLng(map["latitude"] as double, map["longitude"] as double); } diff --git a/packages/sealed_countries/lib/src/helpers/extensions/country_submodels/maps_extension.dart b/packages/sealed_countries/lib/src/helpers/extensions/country_submodels/maps_extension.dart index e5688dc1..81cea439 100644 --- a/packages/sealed_countries/lib/src/helpers/extensions/country_submodels/maps_extension.dart +++ b/packages/sealed_countries/lib/src/helpers/extensions/country_submodels/maps_extension.dart @@ -17,7 +17,7 @@ extension MapsExtension on Maps { /// {@macro from_map_method} static Maps fromMap(JsonMap map) => Maps( - googleMaps: map["googleMaps"] as String, - openStreetMaps: map["openStreetMaps"] as String, + googleMaps: map["googleMaps"].toString(), + openStreetMaps: map["openStreetMaps"].toString(), ); } diff --git a/packages/sealed_countries/lib/src/helpers/extensions/country_submodels/postal_code_extension.dart b/packages/sealed_countries/lib/src/helpers/extensions/country_submodels/postal_code_extension.dart index 1180371f..3e2c2db0 100644 --- a/packages/sealed_countries/lib/src/helpers/extensions/country_submodels/postal_code_extension.dart +++ b/packages/sealed_countries/lib/src/helpers/extensions/country_submodels/postal_code_extension.dart @@ -24,10 +24,10 @@ extension PostalCodeExtension on PostalCode { /// print(isValid); // Prints: true /// ``` RegExp validator({ - bool multiLine = false, bool caseSensitive = true, - bool unicode = false, bool dotAll = false, + bool multiLine = false, + bool unicode = false, }) => RegExp( regExpPattern, @@ -49,7 +49,7 @@ extension PostalCodeExtension on PostalCode { /// {@macro from_map_method} static PostalCode fromMap(JsonMap map) => PostalCode( - format: map["format"] as String, - regExpPattern: map["regExpPattern"] as String, + format: map["format"].toString(), + regExpPattern: map["regExpPattern"].toString(), ); } diff --git a/packages/sealed_countries/lib/src/helpers/world_country/world_country_date_time.dart b/packages/sealed_countries/lib/src/helpers/world_country/world_country_date_time.dart index f81acff2..74ee8b6a 100644 --- a/packages/sealed_countries/lib/src/helpers/world_country/world_country_date_time.dart +++ b/packages/sealed_countries/lib/src/helpers/world_country/world_country_date_time.dart @@ -47,11 +47,11 @@ extension WorldCountryDateTime on WorldCountry { final hour = timezone.substring(utcString.length + 1, utcString.length + 3); final min = timezone.substring(utcString.length + 4, timezoneValueLength); - final hours = int.tryParse(hour); + final intHour = int.tryParse(hour); final minutes = int.tryParse(min); - if (minutes == null || hours == null) return null; + if (minutes == null || intHour == null) return null; - return Duration(hours: hours, minutes: minutes); + return Duration(hours: intHour, minutes: minutes); } /// Returns an unmodifiable list of `UtcDurationDifference` objects diff --git a/packages/sealed_countries/lib/src/helpers/world_country/world_country_geo.dart b/packages/sealed_countries/lib/src/helpers/world_country/world_country_geo.dart index 899163c8..42485461 100644 --- a/packages/sealed_countries/lib/src/helpers/world_country/world_country_geo.dart +++ b/packages/sealed_countries/lib/src/helpers/world_country/world_country_geo.dart @@ -17,7 +17,7 @@ extension WorldCountryGeo on WorldCountry { final codes = bordersCodes; if (codes == null || codes.isEmpty) return null; - return List.unmodifiable(codes.map(WorldCountry.fromCode)); + return List.unmodifiable(codes.map(WorldCountry.fromCode)); } /// Returns the area of the country in square miles. diff --git a/packages/sealed_countries/lib/src/helpers/world_country/world_country_json.dart b/packages/sealed_countries/lib/src/helpers/world_country/world_country_json.dart index 55ad8f16..aa6c93ec 100644 --- a/packages/sealed_countries/lib/src/helpers/world_country/world_country_json.dart +++ b/packages/sealed_countries/lib/src/helpers/world_country/world_country_json.dart @@ -1,3 +1,5 @@ +// ignore_for_file: prefer-correct-identifier-length, avoid-type-casts + import "package:sealed_currencies/sealed_currencies.dart"; import "../../model/country/country.dart"; @@ -21,55 +23,54 @@ import "../extensions/country_submodels/postal_code_extension.dart"; extension WorldCountryJson on WorldCountry { /// {@macro to_map_method} JsonObjectMap toMap() => { - "name": name.toMap(), - "namesNative": - namesNative.map((nn) => nn.toMap()).toList(growable: false), - "tld": tld, + "altSpellings": altSpellings, + "areaMetric": areaMetric, + "bordersCodes": bordersCodes, + "capitalInfo": capitalInfo?.toMap(), + "car": car.toMap(), + "cioc": cioc, "code": code, "codeNumeric": codeNumeric, "codeShort": codeShort, - "cioc": cioc, - "independent": independent, - "unMember": unMember, + "continent": continent.name, "currencies": currencies?.toIsoList(), + "demonyms": demonyms.map((d) => d.toMap()).toList(growable: false), + "emoji": emoji, + "fifa": fifa, + "gini": gini?.toMap(), + "hasCoatOfArms": hasCoatOfArms, "idd": idd.toMap(), - "altSpellings": altSpellings, - "continent": continent.name, - "subregion": subregion?.name, + "independent": independent, + "landlocked": landlocked, "languages": languages.toIsoList(), - "translations": - translations.map((t) => t.toMap()).toList(growable: false), "latLng": latLng.toMap(), - "landlocked": landlocked, - "bordersCodes": bordersCodes, - "areaMetric": areaMetric, - "demonyms": demonyms.map((d) => d.toMap()).toList(growable: false), - "emoji": emoji, "maps": maps.toMap(), + "name": name.toMap(), + "namesNative": + namesNative.map((nn) => nn.toMap()).toList(growable: false), "population": population, - "gini": gini?.toMap(), - "fifa": fifa, - "car": car.toMap(), - "timezones": timezones, - "hasCoatOfArms": hasCoatOfArms, - "startOfWeek": startOfWeek.toMap(), - "capitalInfo": capitalInfo?.toMap(), "postalCode": postalCode?.toMap(), "regionalBlocs": regionalBlocs?.map((rb) => rb.acronym).toList(growable: false), + "startOfWeek": startOfWeek.toMap(), + "subregion": subregion?.name, + "timezones": timezones, + "tld": tld, + "translations": + translations.map((t) => t.toMap()).toList(growable: false), + "unMember": unMember, }; /// {@macro from_map_method} - // ignore: long-method, class is quite big. static WorldCountry fromMap(JsonMap map) => WorldCountry( name: CountryNameExtension.fromMap(map["name"] as JsonMap), altSpellings: List.unmodifiable(map["altSpellings"] as List), areaMetric: map["areaMetric"] as double, - code: map["code"] as String, - codeNumeric: map["codeNumeric"] as String, - codeShort: map["codeShort"] as String, + code: map["code"].toString(), + codeNumeric: map["codeNumeric"].toString(), + codeShort: map["codeShort"].toString(), continent: Continent.fromName(map["continent"] as String), - emoji: map["emoji"] as String, + emoji: map["emoji"].toString(), idd: IddExtension.fromMap(map["idd"] as JsonMap), languages: (map["languages"] as List) .fromIsoList(NaturalLanguage.fromCode) @@ -96,21 +97,21 @@ extension WorldCountryJson on WorldCountry { .fromIsoList(FiatCurrency.fromCode) .toList(growable: false) : null, - capitalInfo: map["capitalInfo"] != null - ? CapitalInfoExtension.fromMap(map["capitalInfo"] as JsonMap) - : null, + capitalInfo: map["capitalInfo"] == null + ? null + : CapitalInfoExtension.fromMap(map["capitalInfo"] as JsonMap), car: CarExtension.fromMap(map["car"] as JsonMap), - cioc: map["cioc"] as String?, - fifa: map["fifa"] as String?, - gini: map["gini"] != null - ? GiniExtension.fromMap(map["gini"] as JsonMap) - : null, + cioc: map["cioc"]?.toString(), + fifa: map["fifa"]?.toString(), + gini: map["gini"] == null + ? null + : GiniExtension.fromMap(map["gini"] as JsonMap), hasCoatOfArms: map["hasCoatOfArms"] as bool, independent: map["independent"] as bool, landlocked: map["landlocked"] as bool, - postalCode: map["postalCode"] != null - ? PostalCodeExtension.fromMap(map["postalCode"] as JsonMap) - : null, + postalCode: map["postalCode"] == null + ? null + : PostalCodeExtension.fromMap(map["postalCode"] as JsonMap), bordersCodes: map["bordersCodes"] is List ? List.unmodifiable(map["bordersCodes"] as List) : null, diff --git a/packages/sealed_countries/lib/src/helpers/world_country/world_country_names.dart b/packages/sealed_countries/lib/src/helpers/world_country/world_country_names.dart index baf5a1d0..9f6bb779 100644 --- a/packages/sealed_countries/lib/src/helpers/world_country/world_country_names.dart +++ b/packages/sealed_countries/lib/src/helpers/world_country/world_country_names.dart @@ -41,6 +41,7 @@ extension WorldCountryNames on WorldCountry { bool skipFirst = false, }) { final names = namesNative.map(toName).toSet(); + // ignore: avoid-passing-self-as-argument, length is checked. if (skipFirst && names.length > 1) names.remove(names.first); return names.join(separator); diff --git a/packages/sealed_countries/lib/src/helpers/world_country/world_country_web_resources.dart b/packages/sealed_countries/lib/src/helpers/world_country/world_country_web_resources.dart index 5732a829..38ad00df 100644 --- a/packages/sealed_countries/lib/src/helpers/world_country/world_country_web_resources.dart +++ b/packages/sealed_countries/lib/src/helpers/world_country/world_country_web_resources.dart @@ -1,3 +1,5 @@ +// ignore_for_file: prefer-getter-over-method + import "../../model/country/country.dart"; /// Provides extension methods for accessing web resources related to a @@ -20,7 +22,7 @@ extension WorldCountryWebResources on WorldCountry { String flagSvgUrl() => "$_flagProvider/$_lowerCaseCode.$svg"; static const _coatOfArmsProvider = - """https://mainfacts.com/media/images/coats_of_arms"""; + "https://mainfacts.com/media/images/coats_of_arms"; /// Returns the URL of the PNG image file for the country's coat of arms if it /// has one, or `null` otherwise. diff --git a/packages/sealed_countries/lib/src/model/country/country.dart b/packages/sealed_countries/lib/src/model/country/country.dart index de1dcf2b..35d0fc83 100644 --- a/packages/sealed_countries/lib/src/model/country/country.dart +++ b/packages/sealed_countries/lib/src/model/country/country.dart @@ -35,5 +35,5 @@ sealed class Country implements Named { final CountryName name; @override - String toString({bool short = true}) => 'Country(name: "${name.name}")'; + String toString({bool short = true}) => 'Country(name: "${name.common}")'; } diff --git a/packages/sealed_countries/lib/src/model/country/submodels/capital.dart b/packages/sealed_countries/lib/src/model/country/submodels/capital.dart index a9592a18..34546ce1 100644 --- a/packages/sealed_countries/lib/src/model/country/submodels/capital.dart +++ b/packages/sealed_countries/lib/src/model/country/submodels/capital.dart @@ -49,7 +49,8 @@ final class Capital implements JsonEncodable { @override String toString({bool short = true}) => short ? "Capital($deFacto)" - : '''Capital("$deFacto", deJure: ${deJure == null ? deJure : '"$deJure"'}, third: ${third == null ? third : '"$third"'})'''; + : 'Capital("$deFacto"${deJure == null ? '' : ', deJure: "$deJure"'}' + '${third == null ? '' : ', third: "$third"'})'; @override String toJson({JsonCodec codec = const JsonCodec()}) => codec.encode(toMap()); @@ -60,7 +61,7 @@ final class Capital implements JsonEncodable { return other.deFacto == deFacto && other.deJure == deJure && - other.third == other.third; + other.third == third; } @override diff --git a/packages/sealed_countries/lib/src/model/country/submodels/car.dart b/packages/sealed_countries/lib/src/model/country/submodels/car.dart index 588f87fc..cec69b2e 100644 --- a/packages/sealed_countries/lib/src/model/country/submodels/car.dart +++ b/packages/sealed_countries/lib/src/model/country/submodels/car.dart @@ -32,7 +32,7 @@ final class Car implements JsonEncodable { @override String toString() => - '''Car(sign: ${sign == null ? sign : '"$sign"'}, isRightSide: $isRightSide)'''; + 'Car(${sign == null ? '' : 'sign: "$sign", '}isRightSide: $isRightSide)'; @override String toJson({JsonCodec codec = const JsonCodec()}) => codec.encode(toMap()); diff --git a/packages/sealed_countries/lib/src/model/country/submodels/country_name.dart b/packages/sealed_countries/lib/src/model/country/submodels/country_name.dart index a9e0769d..82f8415b 100644 --- a/packages/sealed_countries/lib/src/model/country/submodels/country_name.dart +++ b/packages/sealed_countries/lib/src/model/country/submodels/country_name.dart @@ -36,8 +36,8 @@ final class CountryName extends TranslatedName { @override String toString({bool short = true}) => short - ? '''CountryName(language: $language, official: "$official", common: "$common")''' - : '''CountryName(language: ${language.runtimeType}(), official: "$official", common: "$common")'''; + ? '''CountryName(language: ${language.runtimeType}(), official: "$official", common: "$common")''' + : '''CountryName(language: $language, official: "$official", common: "$common")'''; @override String toJson({JsonCodec codec = const JsonCodec()}) => codec.encode(toMap()); diff --git a/packages/sealed_countries/lib/src/model/country/submodels/world_country.dart b/packages/sealed_countries/lib/src/model/country/submodels/world_country.dart index ba5cdac1..3f874884 100644 --- a/packages/sealed_countries/lib/src/model/country/submodels/world_country.dart +++ b/packages/sealed_countries/lib/src/model/country/submodels/world_country.dart @@ -254,9 +254,9 @@ class WorldCountry extends Country ? map.findByCodeOrThrow(code) : code.toUpperCaseIsoCode().maybeMapIsoCode( orElse: (regular) => WorldCountry.fromCode(regular, countries), - short: (short) => WorldCountry.fromCodeShort(short, countries), numeric: (numeric) => WorldCountry.fromCodeNumeric(numeric, countries), + short: (short) => WorldCountry.fromCodeShort(short, countries), ); /// The native names of the country. @@ -368,7 +368,26 @@ class WorldCountry extends Country @override String toString({bool short = true}) => short ? super.toString() - : '''WorldCountry(name: $name, namesNative: $namesNative, tld: ${jsonEncode(tld)}, code: "$code", codeNumeric: "$codeNumeric", codeShort: "$codeShort", cioc: ${cioc == null ? cioc : '"$cioc"'}, independent: $independent, unMember: $unMember, currencies: ${currencies?.toInstancesString()}, idd: $idd, altSpellings: ${jsonEncode(altSpellings)}, continent: ${continent.runtimeType}(), subregion: ${subregion == null ? subregion : '${subregion?.runtimeType}()'}, languages: ${languages.toInstancesString()}, translations: ${code.toLowerCase()}CountryTranslations, latLng: $latLng, landlocked: $landlocked, bordersCodes: ${jsonEncode(bordersCodes)}, areaMetric: $areaMetric, demonyms: $demonyms, emoji: "$emoji", maps: $maps, population: $population, gini: $gini, fifa: ${fifa == null ? fifa : '"$fifa"'}, car: $car, timezones: ${jsonEncode(timezones)}, hasCoatOfArms: $hasCoatOfArms, startOfWeek: $startOfWeek, capitalInfo: ${capitalInfo?.toString(short: false)}, postalCode: $postalCode, regionalBlocs: ${regionalBlocs?.toInstancesString()})'''; + : "WorldCountry(name: $name, namesNative: $namesNative, " + 'tld: ${jsonEncode(tld)}, code: "$code", ' + 'codeNumeric: "$codeNumeric", codeShort: "$codeShort", ' + '${cioc == null ? '' : 'cioc: "$cioc", '}independent: $independent, ' + "unMember: $unMember, currencies: ${currencies?.toInstancesString()}," + " idd: $idd, altSpellings: ${jsonEncode(altSpellings)}, " + "continent: ${continent.runtimeType}(), " + """${subregion == null ? '' : 'subregion: ${subregion.runtimeType}(), '}""" + "languages: ${languages.toInstancesString()}, " + "translations: ${code.toLowerCase()}CountryTranslations, " + "latLng: $latLng, landlocked: $landlocked, " + """${bordersCodes == null ? '' : 'bordersCodes: ${jsonEncode(bordersCodes)}, '}""" + '''areaMetric: $areaMetric, demonyms: $demonyms, emoji: "$emoji", maps: $maps, ''' + "population: $population, ${gini == null ? '' : 'gini: $gini, '}" + '${fifa == null ? '' : 'fifa: "$fifa", '}car: $car, ' + "timezones: ${jsonEncode(timezones)}, hasCoatOfArms: $hasCoatOfArms, " + "startOfWeek: $startOfWeek, " + """${capitalInfo == null ? '' : 'capitalInfo: ${capitalInfo?.toString(short: false)}, '}""" + "${postalCode == null ? '' : 'postalCode: $postalCode, '}" + """${regionalBlocs == null ? '' : 'regionalBlocs: ${regionalBlocs?.toInstancesString()},'})"""; @override String toJson({JsonCodec codec = const JsonCodec()}) => codec.encode(toMap()); @@ -507,10 +526,10 @@ class WorldCountry extends Country : code?.toUpperCaseIsoCode().maybeMapIsoCode( orElse: (regular) => WorldCountry.maybeFromCode(regular, countries), - short: (short) => - WorldCountry.maybeFromCodeShort(short, countries), numeric: (numeric) => WorldCountry.maybeFromCodeNumeric(numeric, countries), + short: (short) => + WorldCountry.maybeFromCodeShort(short, countries), ); /// The general standard ISO code for countries, defined as ISO 3166-1. @@ -575,7 +594,7 @@ class WorldCountry extends Country ...worldCountryCodeOtherMap, ...worldCountryCodeNumericMap, }, - exactLength: null, + exactLength: null, // ignore: avoid-passing-default-values, is not default. ); /// A list of all the countries currently supported diff --git a/packages/sealed_countries/lib/src/model/geo/submodels/continent.dart b/packages/sealed_countries/lib/src/model/geo/submodels/continent.dart index 12e20514..490b1487 100644 --- a/packages/sealed_countries/lib/src/model/geo/submodels/continent.dart +++ b/packages/sealed_countries/lib/src/model/geo/submodels/continent.dart @@ -1,3 +1,7 @@ +// ignore_for_file: avoid-referencing-subclasses, those are static constants. + +import "package:sealed_currencies/sealed_currencies.dart"; + import "../../../data/geo/continental_sections.data.dart"; import "../../../data/geo/continents.data.dart"; import "../region.dart"; @@ -36,7 +40,7 @@ class Continent extends SubRegion { /// Creates a new `Continent` object from its name. factory Continent.fromName(String name) => list.firstWhere( - (region) => region.name.toUpperCase() == name.trim().toUpperCase(), + (region) => region.name.toUpperCase() == name.toUpperCaseIsoCode(), ); /// Creates a new `Continent` object from a value. @@ -52,8 +56,8 @@ class Continent extends SubRegion { /// value is provided, the `list` constant is used. static Continent? maybeFromValue( T value, { - T? Function(Continent continent)? where, Iterable continents = list, + T? Function(Continent continent)? where, }) { assert(continents.isNotEmpty, "`continents` should not be empty!"); for (final continent in continents) { diff --git a/packages/sealed_countries/lib/src/model/regional_bloc/regional_bloc.dart b/packages/sealed_countries/lib/src/model/regional_bloc/regional_bloc.dart index 555f7ae0..7d9afbc9 100644 --- a/packages/sealed_countries/lib/src/model/regional_bloc/regional_bloc.dart +++ b/packages/sealed_countries/lib/src/model/regional_bloc/regional_bloc.dart @@ -20,11 +20,11 @@ class RegionalBloc extends WorldBloc { /// /// The `name` and `acronym` parameters are required and must not be empty. const RegionalBloc({ - required String acronym, + required String super.acronym, required super.name, this.otherAcronyms, this.otherNames, - }) : super(acronym: acronym); + }); /// Creates a new `RegionalBloc` object from its acronym. /// Returns an [RegionalBloc] object from the given [acronym]. @@ -41,15 +41,15 @@ class RegionalBloc extends WorldBloc { Object acronym, [ Iterable? blocs, ]) { - if (blocs == null) return map["$acronym"]!; final string = acronym.toUpperCaseIsoCode(); + if (blocs == null) return map[string]!; return list.firstWhere((bloc) => bloc.acronym == string); } /// Creates a new `RegionalBloc` object from its name. factory RegionalBloc.fromName(String name) => list.firstWhere( - (bloc) => bloc.name.toUpperCase() == name.trim().toUpperCase(), + (bloc) => bloc.name.toUpperCase() == name.toUpperCaseIsoCode(), ); /// Other acronyms of the regional bloc. @@ -65,7 +65,9 @@ class RegionalBloc extends WorldBloc { @override String toString({bool short = true}) => short ? super.toString() - : '''RegionalBloc(acronym: "$acronym", name: "$name", otherAcronyms: ${jsonEncode(otherAcronyms)}, otherNames: ${jsonEncode(otherNames)})'''; + : 'RegionalBloc(acronym: "$acronym", name: "$name", ' + "otherAcronyms: ${jsonEncode(otherAcronyms)}, " + "otherNames: ${jsonEncode(otherNames)})"; /// Creates a new `RegionalBloc` object from its acronym. /// @@ -84,9 +86,9 @@ class RegionalBloc extends WorldBloc { Object? acronym, [ Iterable? blocs, ]) { - if (blocs == null) return map["$acronym"]; - final string = acronym?.toUpperCaseIsoCode(); - if (string == null) return null; + if (acronym == null) return null; + final string = acronym.toUpperCaseIsoCode(); + if (blocs == null) return map[string]; for (final bloc in blocs) { if (bloc.acronym == string) return bloc; @@ -108,8 +110,8 @@ class RegionalBloc extends WorldBloc { /// no value is provided, the `RegionalBloc.list` constant is used. static RegionalBloc? maybeFromValue( T value, { - T? Function(RegionalBloc regionalBloc)? where, Iterable regionalBlocs = list, + T? Function(RegionalBloc regionalBloc)? where, }) { regionalBlocs.assertNotEmpty(); diff --git a/packages/sealed_countries/lib/src/model/regional_bloc/world_bloc.dart b/packages/sealed_countries/lib/src/model/regional_bloc/world_bloc.dart index 2197fb2f..4983d159 100644 --- a/packages/sealed_countries/lib/src/model/regional_bloc/world_bloc.dart +++ b/packages/sealed_countries/lib/src/model/regional_bloc/world_bloc.dart @@ -10,7 +10,6 @@ part "regional_bloc.g.dart"; /// bloc. It consists of a `String` values that represents the name and acronym /// of the WorldBloc. The `name` and `acronym` fields are required and must /// not be empty (if provided). -/// ``` sealed class WorldBloc implements Named { /// Creates a new `WorldBloc` object with the given name. /// @@ -33,5 +32,5 @@ sealed class WorldBloc implements Named { @override String toString({bool short = true}) => short ? 'WorldBloc(name: "$name")' - : '''WorldBloc(name: "$name", acronym: ${acronym == null ? acronym : '"$acronym"'})'''; + : '''WorldBloc(name: "$name"${acronym == null ? '' : ', acronym: "$acronym"'})'''; } diff --git a/packages/sealed_countries/lib/src/translations/hkg_country.l10n.dart b/packages/sealed_countries/lib/src/translations/hkg_country.l10n.dart index 3262ed53..5f3dfb69 100644 --- a/packages/sealed_countries/lib/src/translations/hkg_country.l10n.dart +++ b/packages/sealed_countries/lib/src/translations/hkg_country.l10n.dart @@ -1,4 +1,4 @@ -// ignore_for_file: lines_longer_than_80_chars +// ignore_for_file: lines_longer_than_80_chars, translations are unpredictable. import "package:sealed_currencies/sealed_currencies.dart"; diff --git a/packages/sealed_countries/lib/src/translations/mac_country.l10n.dart b/packages/sealed_countries/lib/src/translations/mac_country.l10n.dart index f5e524e1..84069b42 100644 --- a/packages/sealed_countries/lib/src/translations/mac_country.l10n.dart +++ b/packages/sealed_countries/lib/src/translations/mac_country.l10n.dart @@ -1,4 +1,4 @@ -// ignore_for_file: lines_longer_than_80_chars +// ignore_for_file: lines_longer_than_80_chars, translations are unpredictable. import "package:sealed_currencies/sealed_currencies.dart"; diff --git a/packages/sealed_countries/pubspec.yaml b/packages/sealed_countries/pubspec.yaml index b51f5a10..ca615734 100644 --- a/packages/sealed_countries/pubspec.yaml +++ b/packages/sealed_countries/pubspec.yaml @@ -26,8 +26,9 @@ dependencies: dev_dependencies: _sealed_world_tests: path: ../_sealed_world_tests - build_runner: ^2.4.9 # From Google - coverage: ^1.7.2 # From Google - dart_code_linter: ^1.1.3 # Ex-DCM. - lints: ^4.0.0 # From Google - test: ^1.25.4 # From Google + build_runner: ^2.4.13 # From Google + coverage: ^1.9.2 # From Google + dart_code_linter: ^1.1.5 # Ex-DCM. + dart_code_metrics_presets: ^2.17.0 + lints: ^5.0.0 # From Google + test: ^1.25.8 # From Google diff --git a/packages/sealed_countries/test/src/helpers/extensions/country_submodels/postal_code_extension_test.dart b/packages/sealed_countries/test/src/helpers/extensions/country_submodels/postal_code_extension_test.dart index 01c86375..eb695cf5 100644 --- a/packages/sealed_countries/test/src/helpers/extensions/country_submodels/postal_code_extension_test.dart +++ b/packages/sealed_countries/test/src/helpers/extensions/country_submodels/postal_code_extension_test.dart @@ -8,27 +8,24 @@ void main() => group("PostalCodeExtension", () { const code = "1234"; final value = const PostalCode().validator(); - test( - "validator", - () { - expect(value, RegExp(const PostalCode().regExpPattern)); - expect(value.hasMatch("${code}5"), isTrue); - expect(value.hasMatch(code), isFalse); - }, - ); + test("validator", () { + expect(value, RegExp(const PostalCode().regExpPattern)); + expect(value.hasMatch("${code}5"), isTrue); + expect(value.hasMatch(code), isFalse); + }); group("copyWith", () { - const value = PostalCode(); + const postalCodeValue = PostalCode(); test("with non-null values", () { - final copy = value.copyWith(format: TestData.string); + final copy = postalCodeValue.copyWith(format: TestData.string); expect(copy.format, TestData.string); - expect(copy.regExpPattern, value.regExpPattern); + expect(copy.regExpPattern, postalCodeValue.regExpPattern); }); test("with null values", () { - final copy = value.copyWith(); - expect(copy.format, value.format); - expect(copy.regExpPattern, value.regExpPattern); + final copy = postalCodeValue.copyWith(); + expect(copy.format, postalCodeValue.format); + expect(copy.regExpPattern, postalCodeValue.regExpPattern); }); }); }); diff --git a/packages/sealed_countries/test/src/helpers/world_country/world_country_geo_test.dart b/packages/sealed_countries/test/src/helpers/world_country/world_country_geo_test.dart index a9f13db1..d994f63e 100644 --- a/packages/sealed_countries/test/src/helpers/world_country/world_country_geo_test.dart +++ b/packages/sealed_countries/test/src/helpers/world_country/world_country_geo_test.dart @@ -7,7 +7,7 @@ void main() => group("WorldCountryGeo", () { test( "with null bordersCodes", () => expect( - WorldCountry.list.firstWhere((c) => c.borders == null).borders, + WorldCountry.list.firstWhere((cnt) => cnt.borders == null).borders, isNull, ), ); @@ -15,7 +15,7 @@ void main() => group("WorldCountryGeo", () { test( "with non-null bordersCodes", () => expect( - WorldCountry.list.firstWhere((c) => c.borders != null).borders, + WorldCountry.list.firstWhere((cnt) => cnt.borders != null).borders, isNotEmpty, ), ); @@ -23,7 +23,7 @@ void main() => group("WorldCountryGeo", () { test( "proper type", () => expect( - WorldCountry.list.firstWhere((c) => c.borders != null).borders, + WorldCountry.list.firstWhere((cnt) => cnt.borders != null).borders, everyElement(isA()), ), ); diff --git a/packages/sealed_countries/test/src/helpers/world_country/world_country_names_test.dart b/packages/sealed_countries/test/src/helpers/world_country/world_country_names_test.dart index f59fd6db..5c6f834b 100644 --- a/packages/sealed_countries/test/src/helpers/world_country/world_country_names_test.dart +++ b/packages/sealed_countries/test/src/helpers/world_country/world_country_names_test.dart @@ -5,7 +5,7 @@ import "package:test/test.dart"; void main() => group("WorldCountryNames", () { group("namesCommonNative", () { final country = - WorldCountry.list.firstWhere((c) => c.namesNative.length > 1); + WorldCountry.list.firstWhere((cnt) => cnt.namesNative.length > 1); test( "separator", @@ -24,24 +24,21 @@ void main() => group("WorldCountryNames", () { ), ); - test( - "with single name", - () { - final singleNameCountry = WorldCountry.list.firstWhere( - (c) => c.namesNative.length == 1, - ); - expect( - singleNameCountry.namesCommonNative(skipFirst: true), - singleNameCountry.namesNative.first.name, - ); - }, - ); + test("with single name", () { + final singleNameCountry = WorldCountry.list.firstWhere( + (cnt) => cnt.namesNative.length == 1, + ); + expect( + singleNameCountry.namesCommonNative(skipFirst: true), + singleNameCountry.namesNative.first.name, + ); + }); }); }); group("namesOfficialNative", () { final country = - WorldCountry.list.firstWhere((c) => c.namesNative.length > 1); + WorldCountry.list.firstWhere((cnt) => cnt.namesNative.length > 1); test( "separator", @@ -60,18 +57,15 @@ void main() => group("WorldCountryNames", () { ), ); - test( - "with single name", - () { - final singleNameCountry = WorldCountry.list.firstWhere( - (c) => c.namesNative.length == 1, - ); - expect( - singleNameCountry.namesOfficialNative(skipFirst: true), - singleNameCountry.namesNative.first.fullName, - ); - }, - ); + test("with single name", () { + final singleNameCountry = WorldCountry.list.firstWhere( + (cnt) => cnt.namesNative.length == 1, + ); + expect( + singleNameCountry.namesOfficialNative(skipFirst: true), + singleNameCountry.namesNative.first.fullName, + ); + }); }); }); }); diff --git a/packages/sealed_countries/test/src/model/country/submodels/capital_test.dart b/packages/sealed_countries/test/src/model/country/submodels/capital_test.dart index 39edae0d..3d56f27e 100644 --- a/packages/sealed_countries/test/src/model/country/submodels/capital_test.dart +++ b/packages/sealed_countries/test/src/model/country/submodels/capital_test.dart @@ -1,3 +1,4 @@ +import "package:_sealed_world_tests/sealed_world_tests.dart"; import "package:sealed_countries/src/helpers/extensions/country_submodels/capital_extension.dart"; import "package:sealed_countries/src/model/country/submodels/capital.dart"; import "package:sealed_currencies/sealed_currencies.dart"; @@ -29,40 +30,26 @@ void main() => group("$Capital", () { }); group("asserts", () { - test( + assertTest( "not", - () => expect( - () => Capital( - value.deFacto, - deJure: TestData.string, - third: TestData.string, - ), - isNot(throwsA(isA())), + () => Capital( + value.deFacto, + deJure: TestData.string, + third: TestData.string, ), + shouldThrow: false, ); - test( - "name length", - () => expect( - () => Capital(TestData.emptyString), - throwsA(isA()), - ), - ); + assertTest("name length", () => Capital(TestData.emptyString)); - test( + assertTest( "deJure length", - () => expect( - () => Capital(value.deFacto, deJure: TestData.emptyString), - throwsA(isA()), - ), + () => Capital(value.deFacto, deJure: TestData.emptyString), ); - test( + assertTest( "third length", - () => expect( - () => Capital(value.deFacto, third: TestData.emptyString), - throwsA(isA()), - ), + () => Capital(value.deFacto, third: TestData.emptyString), ); }); diff --git a/packages/sealed_countries/test/src/model/country/submodels/car_test.dart b/packages/sealed_countries/test/src/model/country/submodels/car_test.dart index 53014093..153b8107 100644 --- a/packages/sealed_countries/test/src/model/country/submodels/car_test.dart +++ b/packages/sealed_countries/test/src/model/country/submodels/car_test.dart @@ -1,3 +1,4 @@ +import "package:_sealed_world_tests/sealed_world_tests.dart"; import "package:sealed_countries/src/helpers/extensions/country_submodels/car_extension.dart"; import "package:sealed_countries/src/model/country/submodels/car.dart"; import "package:sealed_currencies/sealed_currencies.dart"; @@ -21,9 +22,7 @@ void main() => group("$Car", () { ); expect( array.first, - equals( - Car(sign: value.sign, isRightSide: value.isRightSide), - ), + equals(Car(sign: value.sign, isRightSide: value.isRightSide)), ); }); @@ -37,21 +36,13 @@ void main() => group("$Car", () { }); group("asserts", () { - test( + assertTest( "not", - () => expect( - () => Car(sign: value.sign, isRightSide: value.isRightSide), - isNot(throwsA(isA())), - ), + () => Car(sign: value.sign, isRightSide: value.isRightSide), + shouldThrow: false, ); - test( - "empty sign", - () => expect( - () => Car(sign: TestData.emptyString), - throwsA(isA()), - ), - ); + assertTest("empty sign", () => Car(sign: TestData.emptyString)); }); test("toJson", () { diff --git a/packages/sealed_countries/test/src/model/country/submodels/country_name_test.dart b/packages/sealed_countries/test/src/model/country/submodels/country_name_test.dart index 9fdb9580..aa24a6eb 100644 --- a/packages/sealed_countries/test/src/model/country/submodels/country_name_test.dart +++ b/packages/sealed_countries/test/src/model/country/submodels/country_name_test.dart @@ -1,3 +1,4 @@ +import "package:_sealed_world_tests/sealed_world_tests.dart"; import "package:sealed_countries/src/helpers/extensions/country_submodels/country_name_extension.dart"; import "package:sealed_countries/src/model/country/submodels/country_name.dart"; import "package:sealed_currencies/sealed_currencies.dart"; @@ -61,61 +62,32 @@ void main() => group("$CountryName", () { }); group("asserts", () { - test( + assertTest( "not", - () => expect( - () => CountryName( - language: value.language, - official: value.official, - common: value.common, - ), - isNot(throwsA(isA())), + () => CountryName( + language: value.language, + official: value.official, + common: value.common, ), + shouldThrow: false, ); - test( + assertTest( "empty official", - () { - expect( - () => CountryName( - language: const LangEng(), - official: TestData.emptyString, - common: value.common, - ), - throwsA(isA()), - ); - expect( - () => CountryName( - language: value.language, - official: TestData.emptyString, - common: value.common, - ), - throwsA(isA()), - ); - }, + () => CountryName( + language: value.language, + official: TestData.emptyString, + common: value.common, + ), ); - test( + assertTest( "empty common", - () { - expect( - () => CountryName( - language: const LangEng(), - official: value.official, - common: TestData.emptyString, - ), - throwsA(isA()), - ); - - expect( - () => CountryName( - language: value.language, - official: value.official, - common: TestData.emptyString, - ), - throwsA(isA()), - ); - }, + () => CountryName( + language: value.language, + official: value.official, + common: TestData.emptyString, + ), ); }); diff --git a/packages/sealed_countries/test/src/model/country/submodels/demonyms_test.dart b/packages/sealed_countries/test/src/model/country/submodels/demonyms_test.dart index 58edb207..71d5ed28 100644 --- a/packages/sealed_countries/test/src/model/country/submodels/demonyms_test.dart +++ b/packages/sealed_countries/test/src/model/country/submodels/demonyms_test.dart @@ -1,3 +1,4 @@ +import "package:_sealed_world_tests/sealed_world_tests.dart"; import "package:sealed_countries/src/helpers/extensions/country_submodels/demonyms_extension.dart"; import "package:sealed_countries/src/model/country/submodels/demonyms.dart"; import "package:sealed_currencies/sealed_currencies.dart"; @@ -61,39 +62,31 @@ void main() => group("$Demonyms", () { }); group("asserts", () { - test( + assertTest( "not", - () => expect( - () => Demonyms( - language: value.language, - female: value.female, - male: value.male, - ), - isNot(throwsA(isA())), + () => Demonyms( + language: value.language, + female: value.female, + male: value.male, ), + shouldThrow: false, ); - test( + assertTest( "empty female", - () => expect( - () => Demonyms( - language: value.language, - female: TestData.emptyString, - male: value.male, - ), - throwsA(isA()), + () => Demonyms( + language: value.language, + female: TestData.emptyString, + male: value.male, ), ); - test( + assertTest( "empty male", - () => expect( - () => Demonyms( - language: value.language, - female: value.female, - male: TestData.emptyString, - ), - throwsA(isA()), + () => Demonyms( + language: value.language, + female: value.female, + male: TestData.emptyString, ), ); }); diff --git a/packages/sealed_countries/test/src/model/country/submodels/gini_test.dart b/packages/sealed_countries/test/src/model/country/submodels/gini_test.dart index 0b9f0b0d..517aec65 100644 --- a/packages/sealed_countries/test/src/model/country/submodels/gini_test.dart +++ b/packages/sealed_countries/test/src/model/country/submodels/gini_test.dart @@ -1,3 +1,4 @@ +import "package:_sealed_world_tests/sealed_world_tests.dart"; import "package:sealed_countries/src/helpers/extensions/country_submodels/gini_extension.dart"; import "package:sealed_countries/src/model/country/submodels/gini.dart"; import "package:sealed_currencies/sealed_currencies.dart"; @@ -45,44 +46,33 @@ void main() => group("$Gini", () { }); group("asserts", () { - test( + assertTest( "not", - () => expect( - () => Gini(year: value.year, coefficient: value.coefficient), - isNot(throwsA(isA())), - ), + () => Gini(year: value.year, coefficient: value.coefficient), + shouldThrow: false, ); - test( + assertTest( "wrong year", - () => expect( - () => Gini( - year: Gini.minYear - TestData.integer, - coefficient: value.coefficient, - ), - throwsA(isA()), + () => Gini( + year: Gini.minYear - TestData.integer, + coefficient: value.coefficient, ), ); - test( + assertTest( "wrong coefficient (too low)", - () => expect( - () => Gini( - year: value.year, - coefficient: Gini.minCoefficient - TestData.float, - ), - throwsA(isA()), + () => Gini( + year: value.year, + coefficient: Gini.minCoefficient - TestData.float, ), ); - test( + assertTest( "wrong coefficient (too high)", - () => expect( - () => Gini( - year: value.year, - coefficient: Gini.maxCoefficient + TestData.float, - ), - throwsA(isA()), + () => Gini( + year: value.year, + coefficient: Gini.maxCoefficient + TestData.float, ), ); }); diff --git a/packages/sealed_countries/test/src/model/country/submodels/idd_test.dart b/packages/sealed_countries/test/src/model/country/submodels/idd_test.dart index 677d5583..41457156 100644 --- a/packages/sealed_countries/test/src/model/country/submodels/idd_test.dart +++ b/packages/sealed_countries/test/src/model/country/submodels/idd_test.dart @@ -1,3 +1,4 @@ +import "package:_sealed_world_tests/sealed_world_tests.dart"; import "package:sealed_countries/src/helpers/extensions/country_submodels/idd_extension.dart"; import "package:sealed_countries/src/model/country/submodels/idd.dart"; import "package:sealed_currencies/sealed_currencies.dart"; @@ -36,20 +37,15 @@ void main() => group("$Idd", () { }); group("asserts", () { - test( + assertTest( "not", - () => expect( - () => Idd(root: value.root, suffixes: value.suffixes), - isNot(throwsA(isA())), - ), + () => Idd(root: value.root, suffixes: value.suffixes), + shouldThrow: false, ); - test( + assertTest( "empty suffixes", - () => expect( - () => Idd(root: value.root, suffixes: const []), - throwsA(isA()), - ), + () => Idd(root: value.root, suffixes: const []), ); }); diff --git a/packages/sealed_countries/test/src/model/country/submodels/maps_test.dart b/packages/sealed_countries/test/src/model/country/submodels/maps_test.dart index 860df127..2046108d 100644 --- a/packages/sealed_countries/test/src/model/country/submodels/maps_test.dart +++ b/packages/sealed_countries/test/src/model/country/submodels/maps_test.dart @@ -1,3 +1,4 @@ +import "package:_sealed_world_tests/sealed_world_tests.dart"; import "package:sealed_countries/src/helpers/extensions/country_submodels/maps_extension.dart"; import "package:sealed_countries/src/model/country/submodels/maps.dart"; import "package:sealed_currencies/sealed_currencies.dart"; @@ -69,36 +70,28 @@ void main() => group("$Maps", () { }); group("asserts", () { - test( + assertTest( "not", - () => expect( - () => Maps( - googleMaps: value.googleMaps, - openStreetMaps: value.openStreetMaps, - ), - isNot(throwsA(isA())), + () => Maps( + googleMaps: value.googleMaps, + openStreetMaps: value.openStreetMaps, ), + shouldThrow: false, ); - test( + assertTest( "empty format", - () => expect( - () => Maps( - googleMaps: TestData.emptyString, - openStreetMaps: value.openStreetMaps, - ), - throwsA(isA()), + () => Maps( + googleMaps: TestData.emptyString, + openStreetMaps: value.openStreetMaps, ), ); - test( + assertTest( "empty regExpPattern", - () => expect( - () => Maps( - googleMaps: value.googleMaps, - openStreetMaps: TestData.emptyString, - ), - throwsA(isA()), + () => Maps( + googleMaps: value.googleMaps, + openStreetMaps: TestData.emptyString, ), ); }); diff --git a/packages/sealed_countries/test/src/model/country/submodels/postal_code_test.dart b/packages/sealed_countries/test/src/model/country/submodels/postal_code_test.dart index bd2c4f60..9366450b 100644 --- a/packages/sealed_countries/test/src/model/country/submodels/postal_code_test.dart +++ b/packages/sealed_countries/test/src/model/country/submodels/postal_code_test.dart @@ -1,3 +1,4 @@ +import "package:_sealed_world_tests/sealed_world_tests.dart"; import "package:sealed_countries/src/helpers/extensions/country_submodels/postal_code_extension.dart"; import "package:sealed_countries/src/model/country/submodels/postal_code.dart"; import "package:sealed_currencies/sealed_currencies.dart"; @@ -7,13 +8,10 @@ import "../../../test_data.dart"; void main() => group("$PostalCode", () { const value = PostalCode(); - test( - "toString", - () { - expect(value.toString(), contains(value.format)); - expect(value.toString(), contains(value.regExpPattern)); - }, - ); + test("toString", () { + expect(value.toString(), contains(value.format)); + expect(value.toString(), contains(value.regExpPattern)); + }); group("equality", () { const other = PostalCode(format: TestData.string); @@ -36,28 +34,20 @@ void main() => group("$PostalCode", () { }); group("asserts", () { - test( + assertTest( "not", - () => expect( - () => PostalCode(format: value.format), - isNot(throwsA(isA())), - ), + () => PostalCode(format: value.format), + shouldThrow: false, ); - test( + assertTest( "empty format", - () => expect( - () => PostalCode(format: TestData.emptyString), - throwsA(isA()), - ), + () => PostalCode(format: TestData.emptyString), ); - test( + assertTest( "empty regExpPattern", - () => expect( - () => PostalCode(regExpPattern: TestData.emptyString), - throwsA(isA()), - ), + () => PostalCode(regExpPattern: TestData.emptyString), ); }); diff --git a/packages/sealed_countries/test/src/model/country/submodels/world_country_test.dart b/packages/sealed_countries/test/src/model/country/submodels/world_country_test.dart index d517bf7a..dfb3488a 100644 --- a/packages/sealed_countries/test/src/model/country/submodels/world_country_test.dart +++ b/packages/sealed_countries/test/src/model/country/submodels/world_country_test.dart @@ -35,44 +35,44 @@ void main() => group("$WorldCountry", () { for (final element in officialCountries) { test("of $WorldCountry: ${element.name.common}", () { - if (element.postalCode != null) { + if (element.postalCode == null) { + expect(element.postalCode, isNull); + } else { expect(element.postalCode?.format, isNotEmpty); expect(element.postalCode?.regExpPattern, isNotEmpty); - } else { - expect(element.postalCode, isNull); } expect( element.capitalInfo?.capital.deFacto, - element.capitalInfo != null ? isNotEmpty : isNull, + element.capitalInfo == null ? isNull : isNotEmpty, ); expect( element.capitalInfo?.latLng, - element.capitalInfo != null ? isNotNull : isNull, + element.capitalInfo == null ? isNull : isNotNull, ); - expect(element.fifa, element.fifa != null ? isNotEmpty : isNull); - if (element.gini != null) { + expect(element.fifa, element.fifa == null ? isNull : isNotEmpty); + if (element.gini == null) { + expect(element.gini, isNull); + } else { expect(element.gini?.year, isPositive); expect(element.gini?.coefficient, isPositive); - } else { - expect(element.gini, isNull); } expect(element.demonyms, isNotEmpty); expect(element.demonyms.first.language, const LangEng()); expect( element.bordersCodes, - element.bordersCodes != null ? isNotEmpty : isNull, + element.bordersCodes == null ? isNull : isNotEmpty, ); expect( element.subregion?.name, - element.subregion != null ? isNotEmpty : isNull, + element.subregion == null ? isNull : isNotEmpty, ); expect(element.idd.root, isPositive); expect(element.idd.suffixes, isNotEmpty); expect( element.currencies, - element.currencies != null ? isNotEmpty : isNull, + element.currencies == null ? isNull : isNotEmpty, ); - expect(element.cioc, element.cioc != null ? isNotEmpty : isNull); + expect(element.cioc, element.cioc == null ? isNull : isNotEmpty); for (final zone in element.timezones) { expect(zone.length, 9); expect(zone.startsWith(WorldCountryDateTime.utcString), isTrue); @@ -441,51 +441,48 @@ void main() => group("$WorldCountry", () { group("toJson", () { for (final element in WorldCountry.list) { - test( - "compared to $WorldCountry: ${element.name.common}", - () { - final json = element.toJson(); + test("compared to $WorldCountry: ${element.name.common}", () { + final json = element.toJson(); - expect(json, isNotEmpty); - final decoded = json.tryParse(WorldCountryJson.fromMap); - expect( - decoded?.toString(short: false), - json.parse(WorldCountryJson.fromMap).toString(short: false), - ); + expect(json, isNotEmpty); + final decoded = json.tryParse(WorldCountryJson.fromMap); + expect( + decoded?.toString(short: false), + json.parse(WorldCountryJson.fromMap).toString(short: false), + ); - expect(element.code, decoded?.code); - expect(element.postalCode, decoded?.postalCode); - expect(element.capitalInfo, decoded?.capitalInfo); - expect(element.fifa, decoded?.fifa); - expect(element.gini, decoded?.gini); - expect(element.demonyms, decoded?.demonyms); - expect(element.bordersCodes, decoded?.bordersCodes); - expect(element.subregion, decoded?.subregion); - expect(element.idd, decoded?.idd); - expect(element.currencies, decoded?.currencies); - expect(element.cioc, decoded?.cioc); - expect(element.startOfWeek, decoded?.startOfWeek); - expect(element.hasCoatOfArms, decoded?.hasCoatOfArms); - expect(element.landlocked, decoded?.landlocked); - expect(element.unMember, decoded?.unMember); - expect(element.independent, decoded?.independent); - expect(element.timezones, decoded?.timezones); - expect(element.car, decoded?.car); - expect(element.population, decoded?.population); - expect(element.areaMetric, decoded?.areaMetric); - expect(element.maps, decoded?.maps); - expect(element.emoji, decoded?.emoji); - expect(element.latLng, decoded?.latLng); - expect(element.translations, decoded?.translations); - expect(element.languages, decoded?.languages); - expect(element.continent, decoded?.continent); - expect(element.altSpellings, decoded?.altSpellings); - expect(element.codeNumeric, decoded?.codeNumeric); - expect(element.codeShort, decoded?.codeShort); - expect(element.namesNative, decoded?.namesNative); - expect(element.tld, decoded?.tld); - }, - ); + expect(element.code, decoded?.code); + expect(element.postalCode, decoded?.postalCode); + expect(element.capitalInfo, decoded?.capitalInfo); + expect(element.fifa, decoded?.fifa); + expect(element.gini, decoded?.gini); + expect(element.demonyms, decoded?.demonyms); + expect(element.bordersCodes, decoded?.bordersCodes); + expect(element.subregion, decoded?.subregion); + expect(element.idd, decoded?.idd); + expect(element.currencies, decoded?.currencies); + expect(element.cioc, decoded?.cioc); + expect(element.startOfWeek, decoded?.startOfWeek); + expect(element.hasCoatOfArms, decoded?.hasCoatOfArms); + expect(element.landlocked, decoded?.landlocked); + expect(element.unMember, decoded?.unMember); + expect(element.independent, decoded?.independent); + expect(element.timezones, decoded?.timezones); + expect(element.car, decoded?.car); + expect(element.population, decoded?.population); + expect(element.areaMetric, decoded?.areaMetric); + expect(element.maps, decoded?.maps); + expect(element.emoji, decoded?.emoji); + expect(element.latLng, decoded?.latLng); + expect(element.translations, decoded?.translations); + expect(element.languages, decoded?.languages); + expect(element.continent, decoded?.continent); + expect(element.altSpellings, decoded?.altSpellings); + expect(element.codeNumeric, decoded?.codeNumeric); + expect(element.codeShort, decoded?.codeShort); + expect(element.namesNative, decoded?.namesNative); + expect(element.tld, decoded?.tld); + }); } }); @@ -634,10 +631,7 @@ void main() => group("$WorldCountry", () { performanceTest( "with regular code", - () => expect( - WorldCountry.maybeFromAnyCode(value.code), - value, - ), + () => expect(WorldCountry.maybeFromAnyCode(value.code), value), ); performanceTest( @@ -650,10 +644,7 @@ void main() => group("$WorldCountry", () { performanceTest( "with wrong code", - () => expect( - WorldCountry.maybeFromAnyCode(value), - isNull, - ), + () => expect(WorldCountry.maybeFromAnyCode(value), isNull), ); }); }); @@ -702,10 +693,7 @@ void main() => group("$WorldCountry", () { performanceTest( "with wrong code", - () => expect( - WorldCountry.maybeFromCodeNumeric(value), - isNull, - ), + () => expect(WorldCountry.maybeFromCodeNumeric(value), isNull), ); }); }); @@ -753,10 +741,7 @@ void main() => group("$WorldCountry", () { performanceTest( "with regular code", - () => expect( - WorldCountry.maybeFromCode(value.code), - value, - ), + () => expect(WorldCountry.maybeFromCode(value.code), value), ); performanceTest( @@ -769,10 +754,7 @@ void main() => group("$WorldCountry", () { performanceTest( "with wrong code", - () => expect( - WorldCountry.maybeFromCode(value), - isNull, - ), + () => expect(WorldCountry.maybeFromCode(value), isNull), ); }); }); @@ -837,10 +819,7 @@ void main() => group("$WorldCountry", () { performanceTest( "with wrong code", - () => expect( - WorldCountry.maybeFromCodeShort(value), - isNull, - ), + () => expect(WorldCountry.maybeFromCodeShort(value), isNull), ); }); }); @@ -1244,7 +1223,7 @@ void main() => group("$WorldCountry", () { namesNative: value.namesNative, population: value.population, timezones: value.timezones, - tld: const [], + tld: const [], translations: value.translations, demonyms: value.demonyms, currencies: value.currencies, @@ -1257,19 +1236,16 @@ void main() => group("$WorldCountry", () { test("translation should always provide at least eng translation", () { const language = LangZha(); const nonExistCode = "000"; - var count = 0; - for (final value in WorldCountry.list) { - final maybeMissing = value.maybeTranslation( - const BasicLocale( - language, - countryCode: nonExistCode, - ), + int count = 0; + for (final country in WorldCountry.list) { + final maybeMissing = country.maybeTranslation( + const BasicLocale(language, countryCode: nonExistCode), useLanguageFallback: false, ); if (maybeMissing != null) continue; - count++; + count += 1; expect( - value.translation( + country.translation( const BasicLocale(language, countryCode: nonExistCode), ), isNotNull, @@ -1282,10 +1258,12 @@ void main() => group("$WorldCountry", () { final map = {for (final country in WorldCountry.list) country: 0}; for (final l10n in NaturalLanguage.list) { - for (final value in WorldCountry.list) { + for (final country in WorldCountry.list) { final hasTranslationForValue = - value.maybeTranslation(BasicLocale(l10n)); - if (hasTranslationForValue != null) map[value] = map[value]! + 1; + country.maybeTranslation(BasicLocale(l10n)); + if (hasTranslationForValue != null) { + map[country] = map[country]! + 1; + } } } @@ -1299,13 +1277,13 @@ void main() => group("$WorldCountry", () { final missing = >{}; for (final l10n in NaturalLanguage.list) { - for (final value in WorldCountry.list) { + for (final country in WorldCountry.list) { final hasTranslationForValue = - value.maybeTranslation(BasicLocale(l10n)); - if (hasTranslationForValue != null) { - map[l10n] = map[l10n]! + 1; + country.maybeTranslation(BasicLocale(l10n)); + if (hasTranslationForValue == null) { + missing[l10n] = {...?missing[l10n], country}; } else { - missing[l10n] = {...?missing[l10n], value}; + map[l10n] = map[l10n]! + 1; } } } diff --git a/packages/sealed_countries/test/src/model/geo/submodels/continent_test.dart b/packages/sealed_countries/test/src/model/geo/submodels/continent_test.dart index 30643557..0d459371 100644 --- a/packages/sealed_countries/test/src/model/geo/submodels/continent_test.dart +++ b/packages/sealed_countries/test/src/model/geo/submodels/continent_test.dart @@ -1,3 +1,4 @@ +import "package:_sealed_world_tests/sealed_world_tests.dart"; import "package:sealed_countries/src/model/geo/submodels/continent.dart"; import "package:test/test.dart"; @@ -23,10 +24,7 @@ void main() => group("$Continent", () { group("maybeFromValue", () { test( "with proper value, without where", - () => expect( - Continent.maybeFromValue(value.name), - value, - ), + () => expect(Continent.maybeFromValue(value.name), value), ); test( @@ -42,10 +40,7 @@ void main() => group("$Continent", () { test( "with wrong value, without where", - () => expect( - Continent.maybeFromValue(value), - isNull, - ), + () => expect(Continent.maybeFromValue(value), isNull), ); test( @@ -59,15 +54,9 @@ void main() => group("$Continent", () { ), ); - test( + assertTest( "with empty countries", - () => expect( - () => Continent.maybeFromValue( - value.name, - continents: const [], - ), - throwsA(isA()), - ), + () => Continent.maybeFromValue(value.name, continents: const []), ); test( diff --git a/packages/sealed_countries/test/src/model/regional_bloc/regional_bloc_test.dart b/packages/sealed_countries/test/src/model/regional_bloc/regional_bloc_test.dart index 657595aa..c69e1944 100644 --- a/packages/sealed_countries/test/src/model/regional_bloc/regional_bloc_test.dart +++ b/packages/sealed_countries/test/src/model/regional_bloc/regional_bloc_test.dart @@ -1,5 +1,6 @@ import "dart:convert"; +import "package:_sealed_world_tests/sealed_world_tests.dart"; import "package:sealed_countries/src/model/regional_bloc/world_bloc.dart"; import "package:test/test.dart"; @@ -28,10 +29,7 @@ void main() => group("$RegionalBloc", () { for (final element in RegionalBloc.list) { test( "${element.acronym} from map", - () => expect( - RegionalBloc.fromAcronym(element.acronym), - element, - ), + () => expect(RegionalBloc.fromAcronym(element.acronym), element), ); } @@ -93,10 +91,7 @@ void main() => group("$RegionalBloc", () { group("maybeFromValue", () { test( "with proper value, without where", - () => expect( - RegionalBloc.maybeFromValue(value.acronym), - value, - ), + () => expect(RegionalBloc.maybeFromValue(value.acronym), value), ); test( @@ -112,10 +107,7 @@ void main() => group("$RegionalBloc", () { test( "with wrong value, without where", - () => expect( - RegionalBloc.maybeFromValue(value), - isNull, - ), + () => expect(RegionalBloc.maybeFromValue(value), isNull), ); test( @@ -129,14 +121,11 @@ void main() => group("$RegionalBloc", () { ), ); - test( - "with empty countries", - () => expect( - () => RegionalBloc.maybeFromValue( - value.name, - regionalBlocs: const [], - ), - throwsA(isA()), + assertTest( + "empty countries", + () => RegionalBloc.maybeFromValue( + value.name, + regionalBlocs: const [], ), ); @@ -165,25 +154,19 @@ void main() => group("$RegionalBloc", () { }); group("asserts", () { - test( + assertTest( "acronym length", - () => expect( - () => RegionalBloc( - acronym: TestData.emptyString, - name: TestData.string, - ), - throwsA(isA()), + () => RegionalBloc( + acronym: TestData.emptyString, + name: TestData.string, ), ); - test( + assertTest( "name length", - () => expect( - () => RegionalBloc( - acronym: TestData.string, - name: TestData.emptyString, - ), - throwsA(isA()), + () => RegionalBloc( + acronym: TestData.string, + name: TestData.emptyString, ), ); }); diff --git a/packages/sealed_currencies/README.md b/packages/sealed_currencies/README.md index 1abf5908..c433cb8e 100644 --- a/packages/sealed_currencies/README.md +++ b/packages/sealed_currencies/README.md @@ -82,16 +82,16 @@ Use `FiatCurrency` class to get information about currencies. Either construct a print(maybeEuro?.toString(short: false)); /* Prints: "FiatCurrency(code: "EUR", name: "Euro", decimalMark: ",", - thousandsSeparator: ".", symbol: "€", alternateSymbols: null, - disambiguateSymbol: null, htmlEntity: "€", codeNumeric: "978", namesNative: - ["Euro"], priority: 2, smallestDenomination: 1, subunit: "Cent", - subunitToUnit: 100, unitFirst: true, translations rsdCurrencyTranslations)". + thousandsSeparator: ".", symbol: r"€", htmlEntity: "€", codeNumeric: "978", + namesNative: ["Euro"], priority: 2, smallestDenomination: 1, subunit: "Cent", + subunitToUnit: 100, unitFirst: true), translations: eurCurrencyTranslations". */ // Prints German translations of all available regular currencies. for (final currency in FiatCurrency.list) { print( - """German name of ${currency.name}: ${currency.maybeTranslation(const BasicLocale(LangDeu()))?.name}""", + "German name of ${currency.name}: " + "${currency.maybeTranslation(const BasicLocale(LangDeu()))?.name}", ); } ``` diff --git a/packages/sealed_currencies/example/lib/main.dart b/packages/sealed_currencies/example/lib/main.dart index 202d5f87..7edbfba1 100644 --- a/packages/sealed_currencies/example/lib/main.dart +++ b/packages/sealed_currencies/example/lib/main.dart @@ -16,35 +16,11 @@ void main() { print(maybeEuro?.toString(short: false)); /* Prints: "FiatCurrency(code: "EUR", name: "Euro", decimalMark: ",", - thousandsSeparator: ".", symbol: "€", alternateSymbols: null, - disambiguateSymbol: null, htmlEntity: "€", codeNumeric: "978", namesNative: - ["Euro"], priority: 2, smallestDenomination: 1, subunit: "Cent", + thousandsSeparator: ".", symbol: r"€", htmlEntity: "€", codeNumeric: "978", + namesNative: ["Euro"], priority: 2, smallestDenomination: 1, subunit: "Cent", subunitToUnit: 100, unitFirst: true), translations: eurCurrencyTranslations". */ - /// [Currency] is a sealed class, it means - /// this `whenOrNull` can be used same way as switch: - /// ```dart - /// switch (currency) { - /// case FiatDkk(): - /// case FiatIsk(): - /// case FiatNok(): - /// case FiatSek(): - /// return true; - /// case FiatCzk(): - /// return false; - /// default: - /// return null; - ///} - /// ``` - bool? isVikingKrone(FiatCurrency currency) => currency.whenOrNull( - fiatDkk: () => true, - fiatIsk: () => true, - fiatNok: () => true, - fiatSek: () => true, - fiatCzk: () => false, - ); - print(isVikingKrone(const FiatNok())); // Prints "true". print(isVikingKrone(serbianDinar)); // Prints "null". print(isVikingKrone(const FiatCzk())); // Prints "false". @@ -63,13 +39,38 @@ void main() { // Prints German translations of all available regular currencies. for (final currency in FiatCurrency.list) { print( - """German name of ${currency.name}: ${currency.maybeTranslation(const BasicLocale(LangDeu()))?.name}""", + "German name of ${currency.name}: " + "${currency.maybeTranslation(const BasicLocale(LangDeu()))?.name}", ); } print(const _FiatCustom().name); // Prints "Custom". } +/// [Currency] is a sealed class, it means +/// this `whenOrNull` can be used same way as switch: +/// ```dart +/// switch (currency) { +/// case FiatDkk(): +/// case FiatIsk(): +/// case FiatNok(): +/// case FiatSek(): +/// return true; +/// case FiatCzk(): +/// return false; +/// default: +/// return null; +///} +/// ``` +// ignore: prefer-static-class, just for example. +bool? isVikingKrone(FiatCurrency currency) => currency.whenOrNull( + fiatCzk: () => false, + fiatDkk: () => true, + fiatIsk: () => true, + fiatNok: () => true, + fiatSek: () => true, + ); + /// Creates a instance of the custom currency with permissive constructor. class _FiatCustom extends FiatCurrency { const _FiatCustom() : super.permissive(code: "123", name: "Custom"); diff --git a/packages/sealed_currencies/lib/src/collections/fiat_currency_collections.dart b/packages/sealed_currencies/lib/src/collections/fiat_currency_collections.dart index 31ac032c..dc36988c 100644 --- a/packages/sealed_currencies/lib/src/collections/fiat_currency_collections.dart +++ b/packages/sealed_currencies/lib/src/collections/fiat_currency_collections.dart @@ -328,7 +328,7 @@ const fiatCurrencyCodeMap = { "ZMW": FiatZmw(), "ZWL": FiatZwl(), - /// Special purpose currencies. + // ignore: map-keys-ordering, Special purpose currencies. "XAG": FiatXag(), "XAU": FiatXau(), "XBA": FiatXba(), @@ -343,176 +343,174 @@ const fiatCurrencyCodeMap = { /// Map of [FiatCurrency] other codes. const fiatCurrencyCodeOtherMap = { - "784": FiatAed(), - "971": FiatAfn(), "008": FiatAll(), - "051": FiatAmd(), - "532": FiatAng(), - "973": FiatAoa(), + "012": FiatDzd(), "032": FiatArs(), "036": FiatAud(), - "533": FiatAwg(), - "944": FiatAzn(), - "977": FiatBam(), - "052": FiatBbd(), - "050": FiatBdt(), - "975": FiatBgn(), + "044": FiatBsd(), "048": FiatBhd(), - "108": FiatBif(), + "050": FiatBdt(), + "051": FiatAmd(), + "052": FiatBbd(), "060": FiatBmd(), - "096": FiatBnd(), - "068": FiatBob(), - "986": FiatBrl(), - "044": FiatBsd(), "064": FiatBtn(), + "068": FiatBob(), "072": FiatBwp(), - "933": FiatByn(), "084": FiatBzd(), + "090": FiatSbd(), + "096": FiatBnd(), + "104": FiatMmk(), + "108": FiatBif(), + "116": FiatKhr(), "124": FiatCad(), - "976": FiatCdf(), - "756": FiatChf(), - "990": FiatClf(), + "132": FiatCve(), + "136": FiatKyd(), + "144": FiatLkr(), "152": FiatClp(), "156": FiatCny(), "170": FiatCop(), + "174": FiatKmf(), "188": FiatCrc(), - "931": FiatCuc(), + "191": + FiatHrk(), // ignore: deprecated_member_use_from_same_package, until 2025. "192": FiatCup(), - "132": FiatCve(), "203": FiatCzk(), - "262": FiatDjf(), "208": FiatDkk(), "214": FiatDop(), - "012": FiatDzd(), - "818": FiatEgp(), - "232": FiatErn(), + "222": FiatSvc(), "230": FiatEtb(), - "978": FiatEur(), - "242": FiatFjd(), + "232": FiatErn(), "238": FiatFkp(), - "826": FiatGbp(), - "981": FiatGel(), - "936": FiatGhs(), - "292": FiatGip(), + "242": FiatFjd(), + "262": FiatDjf(), "270": FiatGmd(), - "324": FiatGnf(), + "292": FiatGip(), "320": FiatGtq(), + "324": FiatGnf(), "328": FiatGyd(), - "344": FiatHkd(), - "340": FiatHnl(), - "191": - FiatHrk(), // ignore: deprecated_member_use_from_same_package, until 2025. "332": FiatHtg(), + "340": FiatHnl(), + "344": FiatHkd(), "348": FiatHuf(), - "360": FiatIdr(), - "376": FiatIls(), + "352": FiatIsk(), "356": FiatInr(), - "368": FiatIqd(), + "360": FiatIdr(), "364": FiatIrr(), - "352": FiatIsk(), + "368": FiatIqd(), + "376": FiatIls(), "388": FiatJmd(), - "400": FiatJod(), "392": FiatJpy(), + "398": FiatKzt(), + "400": FiatJod(), "404": FiatKes(), - "417": FiatKgs(), - "116": FiatKhr(), - "174": FiatKmf(), "408": FiatKpw(), "410": FiatKrw(), "414": FiatKwd(), - "136": FiatKyd(), - "398": FiatKzt(), + "417": FiatKgs(), "418": FiatLak(), "422": FiatLbp(), - "144": FiatLkr(), - "430": FiatLrd(), "426": FiatLsl(), + "430": FiatLrd(), "434": FiatLyd(), - "504": FiatMad(), - "498": FiatMdl(), - "969": FiatMga(), - "807": FiatMkd(), - "104": FiatMmk(), - "496": FiatMnt(), "446": FiatMop(), - "929": FiatMru(), - "480": FiatMur(), - "462": FiatMvr(), "454": FiatMwk(), - "484": FiatMxn(), "458": FiatMyr(), - "943": FiatMzn(), + "462": FiatMvr(), + "480": FiatMur(), + "484": FiatMxn(), + "496": FiatMnt(), + "498": FiatMdl(), + "504": FiatMad(), + "512": FiatOmr(), "516": FiatNad(), - "566": FiatNgn(), - "558": FiatNio(), - "578": FiatNok(), "524": FiatNpr(), + "532": FiatAng(), + "533": FiatAwg(), + "548": FiatVuv(), "554": FiatNzd(), - "512": FiatOmr(), + "558": FiatNio(), + "566": FiatNgn(), + "578": FiatNok(), + "586": FiatPkr(), "590": FiatPab(), - "604": FiatPen(), "598": FiatPgk(), - "608": FiatPhp(), - "586": FiatPkr(), - "985": FiatPln(), "600": FiatPyg(), + "604": FiatPen(), + "608": FiatPhp(), "634": FiatQar(), - "946": FiatRon(), - "941": FiatRsd(), "643": FiatRub(), "646": FiatRwf(), + "654": FiatShp(), "682": FiatSar(), - "090": FiatSbd(), "690": FiatScr(), - "938": FiatSdg(), - "752": FiatSek(), - "702": FiatSgd(), - "654": FiatShp(), - "925": FiatSle(), "694": FiatSll(), + "702": FiatSgd(), + "704": FiatVnd(), "706": FiatSos(), - "968": FiatSrd(), + "710": FiatZar(), "728": FiatSsp(), - "930": FiatStn(), - "222": FiatSvc(), - "760": FiatSyp(), "748": FiatSzl(), + "752": FiatSek(), + "756": FiatChf(), + "760": FiatSyp(), "764": FiatThb(), - "972": FiatTjs(), - "934": FiatTmt(), - "788": FiatTnd(), "776": FiatTop(), - "949": FiatTry(), "780": FiatTtd(), - "901": FiatTwd(), - "834": FiatTzs(), - "980": FiatUah(), + "784": FiatAed(), + "788": FiatTnd(), "800": FiatUgx(), + "807": FiatMkd(), + "818": FiatEgp(), + "826": FiatGbp(), + "834": FiatTzs(), "840": FiatUsd(), "858": FiatUyu(), "860": FiatUzs(), - "928": FiatVes(), - "704": FiatVnd(), - "548": FiatVuv(), "882": FiatWst(), + "886": FiatYer(), + "901": FiatTwd(), + "925": FiatSle(), + "928": FiatVes(), + "929": FiatMru(), + "930": FiatStn(), + "931": FiatCuc(), + "932": FiatZwl(), + "933": FiatByn(), + "934": FiatTmt(), + "936": FiatGhs(), + "938": FiatSdg(), + "941": FiatRsd(), + "943": FiatMzn(), + "944": FiatAzn(), + "946": FiatRon(), + "949": FiatTry(), "950": FiatXaf(), "951": FiatXcd(), "952": FiatXof(), "953": FiatXpf(), - "886": FiatYer(), - "710": FiatZar(), - "967": FiatZmw(), - "932": FiatZwl(), - - /// Special purpose currencies. - "961": FiatXag(), - "959": FiatXau(), "955": FiatXba(), "956": FiatXbb(), "957": FiatXbc(), "958": FiatXbd(), + "959": FiatXau(), "960": FiatXdr(), - "964": FiatXpd(), + "961": FiatXag(), "962": FiatXpt(), "963": FiatXts(), + "964": FiatXpd(), + "967": FiatZmw(), + "968": FiatSrd(), + "969": FiatMga(), + "971": FiatAfn(), + "972": FiatTjs(), + "973": FiatAoa(), + "975": FiatBgn(), + "976": FiatCdf(), + "977": FiatBam(), + "978": FiatEur(), + "980": FiatUah(), + "981": FiatGel(), + "985": FiatPln(), + "986": FiatBrl(), + "990": FiatClf(), }; diff --git a/packages/sealed_currencies/lib/src/data/fiat_currencies.data.dart b/packages/sealed_currencies/lib/src/data/fiat_currencies.data.dart index 3d889094..a8ffadc2 100644 --- a/packages/sealed_currencies/lib/src/data/fiat_currencies.data.dart +++ b/packages/sealed_currencies/lib/src/data/fiat_currencies.data.dart @@ -1,3 +1,4 @@ +// ignore: avoid-importing-entrypoint-exports, it contains all the translations. import "../../currency_translations.dart"; import "../model/currency/currency.dart"; @@ -10,19 +11,12 @@ class FiatAed extends FiatCurrency { : super( code: "AED", name: "United Arab Emirates Dirham", - decimalMark: ".", - thousandsSeparator: ",", symbol: "د.إ", alternateSymbols: const ["DH", "Dhs"], - disambiguateSymbol: null, - htmlEntity: null, codeNumeric: "784", namesNative: const ["درهم إماراتي"], - priority: 100, smallestDenomination: 25, subunit: "Fils", - subunitToUnit: 100, - unitFirst: false, translations: aedCurrencyTranslations, ); } @@ -36,19 +30,12 @@ class FiatAfn extends FiatCurrency { : super( code: "AFN", name: "Afghan Afghani", - decimalMark: ".", - thousandsSeparator: ",", symbol: "؋", alternateSymbols: const ["Af", "Afs"], - disambiguateSymbol: null, - htmlEntity: null, codeNumeric: "971", namesNative: const ["افغانی"], - priority: 100, smallestDenomination: 100, subunit: "Pul", - subunitToUnit: 100, - unitFirst: false, translations: afnCurrencyTranslations, ); } @@ -62,19 +49,13 @@ class FiatAll extends FiatCurrency { : super( code: "ALL", name: "Albanian Lek", - decimalMark: ".", - thousandsSeparator: ",", symbol: "L", alternateSymbols: const ["Lek"], disambiguateSymbol: "Lek", - htmlEntity: null, codeNumeric: "008", namesNative: const ["Leku Shqiptar"], - priority: 100, smallestDenomination: 100, subunit: "Qintar", - subunitToUnit: 100, - unitFirst: false, translations: allCurrencyTranslations, ); } @@ -88,19 +69,12 @@ class FiatAmd extends FiatCurrency { : super( code: "AMD", name: "Armenian Dram", - decimalMark: ".", - thousandsSeparator: ",", symbol: "դր.", alternateSymbols: const ["dram"], - disambiguateSymbol: null, - htmlEntity: null, codeNumeric: "051", namesNative: const ["Հայկական Դրամ"], - priority: 100, smallestDenomination: 10, subunit: "Luma", - subunitToUnit: 100, - unitFirst: false, translations: amdCurrencyTranslations, ); } @@ -118,14 +92,10 @@ class FiatAng extends FiatCurrency { thousandsSeparator: ".", symbol: "ƒ", alternateSymbols: const ["NAƒ", "NAf", "f"], - disambiguateSymbol: null, htmlEntity: "ƒ", codeNumeric: "532", namesNative: const ["Antilliaanse gulden"], - priority: 100, - smallestDenomination: 1, subunit: "Cent", - subunitToUnit: 100, unitFirst: true, translations: angCurrencyTranslations, ); @@ -140,19 +110,11 @@ class FiatAoa extends FiatCurrency { : super( code: "AOA", name: "Angolan Kwanza", - decimalMark: ".", - thousandsSeparator: ",", symbol: "Kz", - alternateSymbols: null, - disambiguateSymbol: null, - htmlEntity: null, codeNumeric: "973", namesNative: const ["Angolan kwanza"], - priority: 100, smallestDenomination: 10, subunit: "Cêntimo", - subunitToUnit: 100, - unitFirst: false, translations: aoaCurrencyTranslations, ); } @@ -174,10 +136,7 @@ class FiatArs extends FiatCurrency { htmlEntity: r"$", codeNumeric: "032", namesNative: const ["Argentine peso"], - priority: 100, - smallestDenomination: 1, subunit: "Centavo", - subunitToUnit: 100, unitFirst: true, translations: arsCurrencyTranslations, ); @@ -192,8 +151,6 @@ class FiatAud extends FiatCurrency { : super( code: "AUD", name: "Australian Dollar", - decimalMark: ".", - thousandsSeparator: ",", symbol: r"$", alternateSymbols: const [r"A$"], disambiguateSymbol: r"A$", @@ -203,7 +160,6 @@ class FiatAud extends FiatCurrency { priority: 4, smallestDenomination: 5, subunit: "Cent", - subunitToUnit: 100, unitFirst: true, translations: audCurrencyTranslations, ); @@ -218,19 +174,13 @@ class FiatAwg extends FiatCurrency { : super( code: "AWG", name: "Aruban Florin", - decimalMark: ".", - thousandsSeparator: ",", symbol: "ƒ", alternateSymbols: const ["Afl"], - disambiguateSymbol: null, htmlEntity: "ƒ", codeNumeric: "533", namesNative: const ["Arubaanse florijn"], - priority: 100, smallestDenomination: 5, subunit: "Cent", - subunitToUnit: 100, - unitFirst: false, translations: awgCurrencyTranslations, ); } @@ -244,18 +194,11 @@ class FiatAzn extends FiatCurrency { : super( code: "AZN", name: "Azerbaijani Manat", - decimalMark: ".", - thousandsSeparator: ",", symbol: "₼", alternateSymbols: const ["m", "man"], - disambiguateSymbol: null, - htmlEntity: null, codeNumeric: "944", namesNative: const ["Azərbaycan manatı"], - priority: 100, - smallestDenomination: 1, subunit: "Qəpik", - subunitToUnit: 100, unitFirst: true, translations: aznCurrencyTranslations, ); @@ -270,18 +213,12 @@ class FiatBam extends FiatCurrency { : super( code: "BAM", name: "Convertible Mark", - decimalMark: ".", - thousandsSeparator: ",", symbol: "КМ", alternateSymbols: const ["KM"], - disambiguateSymbol: null, - htmlEntity: null, codeNumeric: "977", namesNative: const ["Konvertibilna marka", "Конвертибилна марка"], - priority: 100, smallestDenomination: 5, subunit: "Fening", - subunitToUnit: 100, unitFirst: true, translations: bamCurrencyTranslations, ); @@ -296,18 +233,13 @@ class FiatBbd extends FiatCurrency { : super( code: "BBD", name: "Barbadian Dollar", - decimalMark: ".", - thousandsSeparator: ",", symbol: r"$", alternateSymbols: const [r"Bds$"], disambiguateSymbol: r"Bds$", htmlEntity: r"$", codeNumeric: "052", namesNative: const ["Barbadian dollar"], - priority: 100, - smallestDenomination: 1, subunit: "Cent", - subunitToUnit: 100, unitFirst: true, translations: bbdCurrencyTranslations, ); @@ -322,18 +254,11 @@ class FiatBdt extends FiatCurrency { : super( code: "BDT", name: "Bangladeshi Taka", - decimalMark: ".", - thousandsSeparator: ",", symbol: "৳", alternateSymbols: const ["Tk"], - disambiguateSymbol: null, - htmlEntity: null, codeNumeric: "050", namesNative: const ["টাকা"], - priority: 100, - smallestDenomination: 1, subunit: "Paisa", - subunitToUnit: 100, unitFirst: true, translations: bdtCurrencyTranslations, ); @@ -348,19 +273,11 @@ class FiatBgn extends FiatCurrency { : super( code: "BGN", name: "Bulgarian Lev", - decimalMark: ".", - thousandsSeparator: ",", symbol: "лв.", alternateSymbols: const ["lev", "leva", "лев", "лева"], - disambiguateSymbol: null, - htmlEntity: null, codeNumeric: "975", namesNative: const ["Български лев"], - priority: 100, - smallestDenomination: 1, subunit: "Stotinka", - subunitToUnit: 100, - unitFirst: false, translations: bgnCurrencyTranslations, ); } @@ -374,15 +291,10 @@ class FiatBhd extends FiatCurrency { : super( code: "BHD", name: "Bahraini Dinar", - decimalMark: ".", - thousandsSeparator: ",", symbol: "د.ب", alternateSymbols: const ["BD"], - disambiguateSymbol: null, - htmlEntity: null, codeNumeric: "048", namesNative: const ["دينار بحريني"], - priority: 100, smallestDenomination: 5, subunit: "Fils", subunitToUnit: 1000, @@ -400,19 +312,14 @@ class FiatBif extends FiatCurrency { : super( code: "BIF", name: "Burundian Franc", - decimalMark: ".", - thousandsSeparator: ",", symbol: "Fr", alternateSymbols: const ["FBu"], disambiguateSymbol: "FBu", - htmlEntity: null, codeNumeric: "108", namesNative: const ["franc burundais"], - priority: 100, smallestDenomination: 100, subunit: "Centime", subunitToUnit: 1, - unitFirst: false, translations: bifCurrencyTranslations, ); } @@ -426,18 +333,13 @@ class FiatBmd extends FiatCurrency { : super( code: "BMD", name: "Bermudian Dollar", - decimalMark: ".", - thousandsSeparator: ",", symbol: r"$", alternateSymbols: const [r"BD$"], disambiguateSymbol: r"BD$", htmlEntity: r"$", codeNumeric: "060", namesNative: const ["Bermudian dollars"], - priority: 100, - smallestDenomination: 1, subunit: "Cent", - subunitToUnit: 100, unitFirst: true, translations: bmdCurrencyTranslations, ); @@ -452,18 +354,13 @@ class FiatBnd extends FiatCurrency { : super( code: "BND", name: "Brunei Dollar", - decimalMark: ".", - thousandsSeparator: ",", symbol: r"$", alternateSymbols: const [r"B$"], disambiguateSymbol: "BND", htmlEntity: r"$", codeNumeric: "096", namesNative: const ["Ringgit Brunei"], - priority: 100, - smallestDenomination: 1, subunit: "Sen", - subunitToUnit: 100, unitFirst: true, translations: bndCurrencyTranslations, ); @@ -478,18 +375,12 @@ class FiatBob extends FiatCurrency { : super( code: "BOB", name: "Bolivian Boliviano", - decimalMark: ".", - thousandsSeparator: ",", symbol: "Bs.", alternateSymbols: const ["Bs"], - disambiguateSymbol: null, - htmlEntity: null, codeNumeric: "068", namesNative: const ["Bolivian boliviano"], - priority: 100, smallestDenomination: 10, subunit: "Centavo", - subunitToUnit: 100, unitFirst: true, translations: bobCurrencyTranslations, ); @@ -507,15 +398,11 @@ class FiatBrl extends FiatCurrency { decimalMark: ",", thousandsSeparator: ".", symbol: r"R$", - alternateSymbols: null, - disambiguateSymbol: null, htmlEntity: r"R$", codeNumeric: "986", namesNative: const ["real brasileiro"], - priority: 100, smallestDenomination: 5, subunit: "Centavo", - subunitToUnit: 100, unitFirst: true, translations: brlCurrencyTranslations, ); @@ -530,18 +417,13 @@ class FiatBsd extends FiatCurrency { : super( code: "BSD", name: "Bahamian Dollar", - decimalMark: ".", - thousandsSeparator: ",", symbol: r"$", alternateSymbols: const [r"B$"], disambiguateSymbol: "BSD", htmlEntity: r"$", codeNumeric: "044", namesNative: const ["Bahamian dollar"], - priority: 100, - smallestDenomination: 1, subunit: "Cent", - subunitToUnit: 100, unitFirst: true, translations: bsdCurrencyTranslations, ); @@ -556,19 +438,12 @@ class FiatBtn extends FiatCurrency { : super( code: "BTN", name: "Bhutanese Ngultrum", - decimalMark: ".", - thousandsSeparator: ",", symbol: "Nu.", alternateSymbols: const ["Nu"], - disambiguateSymbol: null, - htmlEntity: null, codeNumeric: "064", namesNative: const ["དངུལ་ཀྲམ"], - priority: 100, smallestDenomination: 5, subunit: "Chertrum", - subunitToUnit: 100, - unitFirst: false, translations: btnCurrencyTranslations, ); } @@ -582,18 +457,11 @@ class FiatBwp extends FiatCurrency { : super( code: "BWP", name: "Botswanan Pula", - decimalMark: ".", - thousandsSeparator: ",", symbol: "P", - alternateSymbols: null, - disambiguateSymbol: null, - htmlEntity: null, codeNumeric: "072", namesNative: const ["Botswana pula"], - priority: 100, smallestDenomination: 5, subunit: "Thebe", - subunitToUnit: 100, unitFirst: true, translations: bwpCurrencyTranslations, ); @@ -613,14 +481,9 @@ class FiatByn extends FiatCurrency { symbol: "Br", alternateSymbols: const ["бел. руб.", "б.р.", "руб.", "р."], disambiguateSymbol: "BYN", - htmlEntity: null, codeNumeric: "933", namesNative: const ["беларускі рубель", "белорусский рубль"], - priority: 100, - smallestDenomination: 1, subunit: "Kapeyka", - subunitToUnit: 100, - unitFirst: false, translations: bynCurrencyTranslations, ); } @@ -634,18 +497,13 @@ class FiatBzd extends FiatCurrency { : super( code: "BZD", name: "Belize Dollar", - decimalMark: ".", - thousandsSeparator: ",", symbol: r"$", alternateSymbols: const [r"BZ$"], disambiguateSymbol: r"BZ$", htmlEntity: r"$", codeNumeric: "084", namesNative: const ["Belize dollar"], - priority: 100, - smallestDenomination: 1, subunit: "Cent", - subunitToUnit: 100, unitFirst: true, translations: bzdCurrencyTranslations, ); @@ -660,8 +518,6 @@ class FiatCad extends FiatCurrency { : super( code: "CAD", name: "Canadian Dollar", - decimalMark: ".", - thousandsSeparator: ",", symbol: r"$", alternateSymbols: const [r"C$", r"CAD$"], disambiguateSymbol: r"C$", @@ -671,7 +527,6 @@ class FiatCad extends FiatCurrency { priority: 5, smallestDenomination: 5, subunit: "Cent", - subunitToUnit: 100, unitFirst: true, translations: cadCurrencyTranslations, ); @@ -686,19 +541,12 @@ class FiatCdf extends FiatCurrency { : super( code: "CDF", name: "Congolese Franc", - decimalMark: ".", - thousandsSeparator: ",", symbol: "Fr", alternateSymbols: const ["FC"], disambiguateSymbol: "FC", - htmlEntity: null, codeNumeric: "976", namesNative: const ["franc congolais"], - priority: 100, - smallestDenomination: 1, subunit: "Centime", - subunitToUnit: 100, - unitFirst: false, translations: cdfCurrencyTranslations, ); } @@ -712,20 +560,14 @@ class FiatChf extends FiatCurrency { : super( code: "CHF", name: "Swiss Franc", - decimalMark: ".", /// https://de.wikipedia.org/wiki/Zifferngruppierung#Regelung_in_den_L%C3%A4ndern thousandsSeparator: "'", - symbol: null, alternateSymbols: const ["SFr", "Fr"], - disambiguateSymbol: null, - htmlEntity: null, codeNumeric: "756", namesNative: const ["Schweizer Franken"], - priority: 100, smallestDenomination: 5, subunit: "Rappen", - subunitToUnit: 100, unitFirst: true, translations: chfCurrencyTranslations, ); @@ -743,12 +585,9 @@ class FiatClf extends FiatCurrency { decimalMark: ",", thousandsSeparator: ".", symbol: "UF", - alternateSymbols: null, - disambiguateSymbol: null, htmlEntity: "₱", codeNumeric: "990", namesNative: const ["Unidad de Fomento"], - priority: 100, smallestDenomination: 0, subunit: "Peso", subunitToUnit: 10000, @@ -769,13 +608,10 @@ class FiatClp extends FiatCurrency { decimalMark: ",", thousandsSeparator: ".", symbol: r"$", - alternateSymbols: null, disambiguateSymbol: "CLP", htmlEntity: "$", codeNumeric: "152", namesNative: const ["Peso chileno"], - priority: 100, - smallestDenomination: 1, subunit: "Peso", subunitToUnit: 1, unitFirst: true, @@ -792,18 +628,12 @@ class FiatCny extends FiatCurrency { : super( code: "CNY", name: "Chinese Renminbi Yuan", - decimalMark: ".", - thousandsSeparator: ",", symbol: "¥", alternateSymbols: const ["CN¥", "元", "CN元"], - disambiguateSymbol: null, htmlEntity: "¥", codeNumeric: "156", namesNative: const ["人民币"], - priority: 100, - smallestDenomination: 1, subunit: "Fen", - subunitToUnit: 100, unitFirst: true, translations: cnyCurrencyTranslations, ); @@ -826,10 +656,8 @@ class FiatCop extends FiatCurrency { htmlEntity: "$", codeNumeric: "170", namesNative: const ["peso colombiano"], - priority: 100, smallestDenomination: 20, subunit: "Centavo", - subunitToUnit: 100, unitFirst: true, translations: copCurrencyTranslations, ); @@ -848,14 +676,11 @@ class FiatCrc extends FiatCurrency { thousandsSeparator: ".", symbol: "₡", alternateSymbols: const ["¢"], - disambiguateSymbol: null, htmlEntity: "₡", codeNumeric: "188", namesNative: const ["colón costarricense"], - priority: 100, smallestDenomination: 500, subunit: "Céntimo", - subunitToUnit: 100, unitFirst: true, translations: crcCurrencyTranslations, ); @@ -870,19 +695,12 @@ class FiatCuc extends FiatCurrency { : super( code: "CUC", name: "Cuban Convertible Peso", - decimalMark: ".", - thousandsSeparator: ",", symbol: r"$", alternateSymbols: const [r"CUC$"], disambiguateSymbol: r"CUC$", - htmlEntity: null, codeNumeric: "931", namesNative: const ["Peso Convertible"], - priority: 100, - smallestDenomination: 1, subunit: "Centavo", - subunitToUnit: 100, - unitFirst: false, translations: cucCurrencyTranslations, ); } @@ -896,18 +714,13 @@ class FiatCup extends FiatCurrency { : super( code: "CUP", name: "Cuban Peso", - decimalMark: ".", - thousandsSeparator: ",", symbol: r"$", alternateSymbols: const [r"$MN"], disambiguateSymbol: r"$MN", htmlEntity: "₱", codeNumeric: "192", namesNative: const ["peso cubano"], - priority: 100, - smallestDenomination: 1, subunit: "Centavo", - subunitToUnit: 100, unitFirst: true, translations: cupCurrencyTranslations, ); @@ -922,19 +735,13 @@ class FiatCve extends FiatCurrency { : super( code: "CVE", name: "Cape Verdean Escudo", - decimalMark: ".", - thousandsSeparator: ",", symbol: r"$", alternateSymbols: const ["Esc"], disambiguateSymbol: "Esc", - htmlEntity: null, codeNumeric: "132", namesNative: const ["eskudu kabu-verdianu"], - priority: 100, smallestDenomination: 100, subunit: "Centavo", - subunitToUnit: 100, - unitFirst: false, translations: cveCurrencyTranslations, ); } @@ -951,16 +758,10 @@ class FiatCzk extends FiatCurrency { decimalMark: ",", thousandsSeparator: " ", symbol: "Kč", - alternateSymbols: null, - disambiguateSymbol: null, - htmlEntity: null, codeNumeric: "203", namesNative: const ["koruna česká"], - priority: 100, smallestDenomination: 100, subunit: "Haléř", - subunitToUnit: 100, - unitFirst: false, translations: czkCurrencyTranslations, ); } @@ -974,19 +775,12 @@ class FiatDjf extends FiatCurrency { : super( code: "DJF", name: "Djiboutian Franc", - decimalMark: ".", - thousandsSeparator: ",", symbol: "Fdj", - alternateSymbols: null, - disambiguateSymbol: null, - htmlEntity: null, codeNumeric: "262", namesNative: const ["franc djibouti"], - priority: 100, smallestDenomination: 100, subunit: "Centime", subunitToUnit: 1, - unitFirst: false, translations: djfCurrencyTranslations, ); } @@ -1005,14 +799,10 @@ class FiatDkk extends FiatCurrency { symbol: "kr.", alternateSymbols: const ["krone"], disambiguateSymbol: "DKK", - htmlEntity: null, codeNumeric: "208", namesNative: const ["dansk krone"], - priority: 100, smallestDenomination: 50, subunit: "Øre", - subunitToUnit: 100, - unitFirst: false, translations: dkkCurrencyTranslations, ); } @@ -1026,18 +816,14 @@ class FiatDop extends FiatCurrency { : super( code: "DOP", name: "Dominican Peso", - decimalMark: ".", - thousandsSeparator: ",", symbol: r"$", alternateSymbols: const [r"RD$"], disambiguateSymbol: r"RD$", htmlEntity: "₱", codeNumeric: "214", namesNative: const ["Dominican peso"], - priority: 100, smallestDenomination: 100, subunit: "Centavo", - subunitToUnit: 100, unitFirst: true, translations: dopCurrencyTranslations, ); @@ -1052,19 +838,12 @@ class FiatDzd extends FiatCurrency { : super( code: "DZD", name: "Algerian Dinar", - decimalMark: ".", - thousandsSeparator: ",", symbol: "د.ج", alternateSymbols: const ["DA"], - disambiguateSymbol: null, - htmlEntity: null, codeNumeric: "012", namesNative: const ["دينار جزائري"], - priority: 100, smallestDenomination: 100, subunit: "Centime", - subunitToUnit: 100, - unitFirst: false, translations: dzdCurrencyTranslations, ); } @@ -1078,18 +857,13 @@ class FiatEgp extends FiatCurrency { : super( code: "EGP", name: "Egyptian Pound", - decimalMark: ".", - thousandsSeparator: ",", symbol: "ج.م", alternateSymbols: const ["LE", "E£", "L.E."], - disambiguateSymbol: null, htmlEntity: "£", codeNumeric: "818", namesNative: const ["جنيه مصرى"], - priority: 100, smallestDenomination: 25, subunit: "Piastre", - subunitToUnit: 100, unitFirst: true, translations: egpCurrencyTranslations, ); @@ -1104,19 +878,10 @@ class FiatErn extends FiatCurrency { : super( code: "ERN", name: "Eritrean Nakfa", - decimalMark: ".", - thousandsSeparator: ",", symbol: "Nfk", - alternateSymbols: null, - disambiguateSymbol: null, - htmlEntity: null, codeNumeric: "232", namesNative: const ["Eritrean nakfa"], - priority: 100, - smallestDenomination: 1, subunit: "Cent", - subunitToUnit: 100, - unitFirst: false, translations: ernCurrencyTranslations, ); } @@ -1130,19 +895,11 @@ class FiatEtb extends FiatCurrency { : super( code: "ETB", name: "Ethiopian Birr", - decimalMark: ".", - thousandsSeparator: ",", symbol: "Br", - alternateSymbols: null, disambiguateSymbol: "ETB", - htmlEntity: null, codeNumeric: "230", namesNative: const ["Ethiopian birr"], - priority: 100, - smallestDenomination: 1, subunit: "Santim", - subunitToUnit: 100, - unitFirst: false, translations: etbCurrencyTranslations, ); } @@ -1159,15 +916,11 @@ class FiatEur extends FiatCurrency { decimalMark: ",", thousandsSeparator: ".", symbol: "€", - alternateSymbols: null, - disambiguateSymbol: null, htmlEntity: "€", codeNumeric: "978", namesNative: const ["Euro"], priority: 2, - smallestDenomination: 1, subunit: "Cent", - subunitToUnit: 100, unitFirst: true, translations: eurCurrencyTranslations, ); @@ -1182,19 +935,14 @@ class FiatFjd extends FiatCurrency { : super( code: "FJD", name: "Fijian Dollar", - decimalMark: ".", - thousandsSeparator: ",", symbol: r"$", alternateSymbols: const [r"FJ$"], disambiguateSymbol: r"FJ$", htmlEntity: r"$", codeNumeric: "242", namesNative: const ["Fijian dollar"], - priority: 100, smallestDenomination: 5, subunit: "Cent", - subunitToUnit: 100, - unitFirst: false, translations: fjdCurrencyTranslations, ); } @@ -1208,19 +956,13 @@ class FiatFkp extends FiatCurrency { : super( code: "FKP", name: "Falkland Pound", - decimalMark: ".", - thousandsSeparator: ",", symbol: "£", alternateSymbols: const ["FK£"], disambiguateSymbol: "FK£", htmlEntity: "£", codeNumeric: "238", namesNative: const ["Falkland Islands pound"], - priority: 100, - smallestDenomination: 1, subunit: "Penny", - subunitToUnit: 100, - unitFirst: false, translations: fkpCurrencyTranslations, ); } @@ -1234,18 +976,12 @@ class FiatGbp extends FiatCurrency { : super( code: "GBP", name: "British Pound", - decimalMark: ".", - thousandsSeparator: ",", symbol: "£", - alternateSymbols: null, - disambiguateSymbol: null, htmlEntity: "£", codeNumeric: "826", namesNative: const ["British pound"], priority: 3, - smallestDenomination: 1, subunit: "Penny", - subunitToUnit: 100, unitFirst: true, translations: gbpCurrencyTranslations, ); @@ -1260,19 +996,11 @@ class FiatGel extends FiatCurrency { : super( code: "GEL", name: "Georgian Lari", - decimalMark: ".", - thousandsSeparator: ",", symbol: "₾", alternateSymbols: const ["lari"], - disambiguateSymbol: null, - htmlEntity: null, codeNumeric: "981", namesNative: const ["ქართული ლარი"], - priority: 100, - smallestDenomination: 1, subunit: "Tetri", - subunitToUnit: 100, - unitFirst: false, translations: gelCurrencyTranslations, ); } @@ -1286,18 +1014,12 @@ class FiatGhs extends FiatCurrency { : super( code: "GHS", name: "Ghanaian Cedi", - decimalMark: ".", - thousandsSeparator: ",", symbol: "₵", alternateSymbols: const ["GH¢", "GH₵"], - disambiguateSymbol: null, htmlEntity: "₵", codeNumeric: "936", namesNative: const ["Ghanaian cedi"], - priority: 100, - smallestDenomination: 1, subunit: "Pesewa", - subunitToUnit: 100, unitFirst: true, translations: ghsCurrencyTranslations, ); @@ -1312,18 +1034,12 @@ class FiatGip extends FiatCurrency { : super( code: "GIP", name: "Gibraltar Pound", - decimalMark: ".", - thousandsSeparator: ",", symbol: "£", - alternateSymbols: null, disambiguateSymbol: "GIP", htmlEntity: "£", codeNumeric: "292", namesNative: const ["Gibraltar pound"], - priority: 100, - smallestDenomination: 1, subunit: "Penny", - subunitToUnit: 100, unitFirst: true, translations: gipCurrencyTranslations, ); @@ -1338,19 +1054,10 @@ class FiatGmd extends FiatCurrency { : super( code: "GMD", name: "Gambian Dalasi", - decimalMark: ".", - thousandsSeparator: ",", symbol: "D", - alternateSymbols: null, - disambiguateSymbol: null, - htmlEntity: null, codeNumeric: "270", namesNative: const ["Gambian dalasi"], - priority: 100, - smallestDenomination: 1, subunit: "Butut", - subunitToUnit: 100, - unitFirst: false, translations: gmdCurrencyTranslations, ); } @@ -1364,19 +1071,14 @@ class FiatGnf extends FiatCurrency { : super( code: "GNF", name: "Guinean Franc", - decimalMark: ".", - thousandsSeparator: ",", symbol: "Fr", alternateSymbols: const ["FG", "GFr"], disambiguateSymbol: "FG", - htmlEntity: null, codeNumeric: "324", namesNative: const ["franc guinéen"], - priority: 100, smallestDenomination: 100, subunit: "Centime", subunitToUnit: 1, - unitFirst: false, translations: gnfCurrencyTranslations, ); } @@ -1390,18 +1092,10 @@ class FiatGtq extends FiatCurrency { : super( code: "GTQ", name: "Guatemalan Quetzal", - decimalMark: ".", - thousandsSeparator: ",", symbol: "Q", - alternateSymbols: null, - disambiguateSymbol: null, - htmlEntity: null, codeNumeric: "320", namesNative: const ["quetzal guatemalteco"], - priority: 100, - smallestDenomination: 1, subunit: "Centavo", - subunitToUnit: 100, unitFirst: true, translations: gtqCurrencyTranslations, ); @@ -1416,19 +1110,14 @@ class FiatGyd extends FiatCurrency { : super( code: "GYD", name: "Guyanaese Dollar", - decimalMark: ".", - thousandsSeparator: ",", symbol: r"$", alternateSymbols: const [r"G$"], disambiguateSymbol: r"G$", htmlEntity: r"$", codeNumeric: "328", namesNative: const ["Guyanese dollar"], - priority: 100, smallestDenomination: 100, subunit: "Cent", - subunitToUnit: 100, - unitFirst: false, translations: gydCurrencyTranslations, ); } @@ -1442,18 +1131,14 @@ class FiatHkd extends FiatCurrency { : super( code: "HKD", name: "Hong Kong Dollar", - decimalMark: ".", - thousandsSeparator: ",", symbol: r"$", alternateSymbols: const [r"HK$"], disambiguateSymbol: r"HK$", htmlEntity: r"$", codeNumeric: "344", namesNative: const ["港幣"], - priority: 100, smallestDenomination: 10, subunit: "Cent", - subunitToUnit: 100, unitFirst: true, translations: hkdCurrencyTranslations, ); @@ -1468,18 +1153,12 @@ class FiatHnl extends FiatCurrency { : super( code: "HNL", name: "Honduran Lempira", - decimalMark: ".", - thousandsSeparator: ",", symbol: "L", - alternateSymbols: null, disambiguateSymbol: "HNL", - htmlEntity: null, codeNumeric: "340", namesNative: const ["lempira hondureño"], - priority: 100, smallestDenomination: 5, subunit: "Centavo", - subunitToUnit: 100, unitFirst: true, translations: hnlCurrencyTranslations, ); @@ -1498,16 +1177,9 @@ class FiatHrk extends FiatCurrency { decimalMark: ",", thousandsSeparator: ".", symbol: "kn", - alternateSymbols: null, - disambiguateSymbol: null, - htmlEntity: null, codeNumeric: "191", namesNative: const ["hrvatska kuna"], - priority: 100, - smallestDenomination: 1, subunit: "Lipa", - subunitToUnit: 100, - unitFirst: false, translations: hrkCurrencyTranslations, ); } @@ -1521,19 +1193,11 @@ class FiatHtg extends FiatCurrency { : super( code: "HTG", name: "Haitian Gourde", - decimalMark: ".", - thousandsSeparator: ",", symbol: "G", - alternateSymbols: null, - disambiguateSymbol: null, - htmlEntity: null, codeNumeric: "332", namesNative: const ["goud ayisyen"], - priority: 100, smallestDenomination: 5, subunit: "Centime", - subunitToUnit: 100, - unitFirst: false, translations: htgCurrencyTranslations, ); } @@ -1550,16 +1214,10 @@ class FiatHuf extends FiatCurrency { decimalMark: ",", thousandsSeparator: " ", symbol: "Ft", - alternateSymbols: null, - disambiguateSymbol: null, - htmlEntity: null, codeNumeric: "348", namesNative: const ["Magyar forint"], - priority: 100, smallestDenomination: 5, - subunit: null, subunitToUnit: 1, - unitFirst: false, translations: hufCurrencyTranslations, ); } @@ -1576,15 +1234,10 @@ class FiatIdr extends FiatCurrency { decimalMark: ",", thousandsSeparator: ".", symbol: "Rp", - alternateSymbols: null, - disambiguateSymbol: null, - htmlEntity: null, codeNumeric: "360", namesNative: const ["Rupiah"], - priority: 100, smallestDenomination: 5000, subunit: "Sen", - subunitToUnit: 100, unitFirst: true, translations: idrCurrencyTranslations, ); @@ -1599,18 +1252,13 @@ class FiatIls extends FiatCurrency { : super( code: "ILS", name: "Israeli New Shekel", - decimalMark: ".", - thousandsSeparator: ",", symbol: "₪", alternateSymbols: const ["ש״ח", "NIS"], - disambiguateSymbol: null, htmlEntity: "₪", codeNumeric: "376", namesNative: const ["שקל חדש"], - priority: 100, smallestDenomination: 10, subunit: "Agora", - subunitToUnit: 100, unitFirst: true, translations: ilsCurrencyTranslations, ); @@ -1625,18 +1273,13 @@ class FiatInr extends FiatCurrency { : super( code: "INR", name: "Indian Rupee", - decimalMark: ".", - thousandsSeparator: ",", symbol: "₹", alternateSymbols: const ["Rs", "৳", "૱", "௹", "रु", "₨"], - disambiguateSymbol: null, htmlEntity: "₹", codeNumeric: "356", namesNative: const ["रुपया"], - priority: 100, smallestDenomination: 50, subunit: "Paisa", - subunitToUnit: 100, unitFirst: true, translations: inrCurrencyTranslations, ); @@ -1651,19 +1294,12 @@ class FiatIqd extends FiatCurrency { : super( code: "IQD", name: "Iraqi Dinar", - decimalMark: ".", - thousandsSeparator: ",", symbol: "ع.د", - alternateSymbols: null, - disambiguateSymbol: null, - htmlEntity: null, codeNumeric: "368", namesNative: const ["دينار عراقي"], - priority: 100, smallestDenomination: 50000, subunit: "Fils", subunitToUnit: 1000, - unitFirst: false, translations: iqdCurrencyTranslations, ); } @@ -1677,18 +1313,11 @@ class FiatIrr extends FiatCurrency { : super( code: "IRR", name: "Iranian Rial", - decimalMark: ".", - thousandsSeparator: ",", symbol: "﷼", - alternateSymbols: null, - disambiguateSymbol: null, htmlEntity: "﷼", codeNumeric: "364", namesNative: const ["ریال ایران"], - priority: 100, smallestDenomination: 5000, - subunit: null, - subunitToUnit: 100, unitFirst: true, translations: irrCurrencyTranslations, ); @@ -1707,15 +1336,9 @@ class FiatIsk extends FiatCurrency { thousandsSeparator: ".", symbol: "kr.", alternateSymbols: const ["Íkr"], - disambiguateSymbol: null, - htmlEntity: null, codeNumeric: "352", namesNative: const ["íslensk króna"], - priority: 100, - smallestDenomination: 1, - subunit: null, subunitToUnit: 1, - unitFirst: false, translations: iskCurrencyTranslations, ); } @@ -1729,18 +1352,13 @@ class FiatJmd extends FiatCurrency { : super( code: "JMD", name: "Jamaican Dollar", - decimalMark: ".", - thousandsSeparator: ",", symbol: r"$", alternateSymbols: const [r"J$"], disambiguateSymbol: r"J$", htmlEntity: r"$", codeNumeric: "388", namesNative: const ["Jamaican dollar"], - priority: 100, - smallestDenomination: 1, subunit: "Cent", - subunitToUnit: 100, unitFirst: true, translations: jmdCurrencyTranslations, ); @@ -1755,15 +1373,10 @@ class FiatJod extends FiatCurrency { : super( code: "JOD", name: "Jordanian Dinar", - decimalMark: ".", - thousandsSeparator: ",", symbol: "د.ا", alternateSymbols: const ["JD"], - disambiguateSymbol: null, - htmlEntity: null, codeNumeric: "400", namesNative: const ["دينار أردني"], - priority: 100, smallestDenomination: 5, subunit: "Fils", subunitToUnit: 1000, @@ -1781,17 +1394,12 @@ class FiatJpy extends FiatCurrency { : super( code: "JPY", name: "Japanese Yen", - decimalMark: ".", - thousandsSeparator: ",", symbol: "¥", alternateSymbols: const ["円", "圓"], - disambiguateSymbol: null, htmlEntity: "¥", codeNumeric: "392", namesNative: const ["日本円"], priority: 6, - smallestDenomination: 1, - subunit: null, subunitToUnit: 1, unitFirst: true, translations: jpyCurrencyTranslations, @@ -1807,18 +1415,12 @@ class FiatKes extends FiatCurrency { : super( code: "KES", name: "Kenyan Shilling", - decimalMark: ".", - thousandsSeparator: ",", symbol: "KSh", alternateSymbols: const ["Sh"], - disambiguateSymbol: null, - htmlEntity: null, codeNumeric: "404", namesNative: const ["Shillingi ya Kenya"], - priority: 100, smallestDenomination: 50, subunit: "Cent", - subunitToUnit: 100, unitFirst: true, translations: kesCurrencyTranslations, ); @@ -1833,19 +1435,11 @@ class FiatKgs extends FiatCurrency { : super( code: "KGS", name: "Kyrgystani Som", - decimalMark: ".", - thousandsSeparator: ",", symbol: "som", alternateSymbols: const ["сом"], - disambiguateSymbol: null, - htmlEntity: null, codeNumeric: "417", namesNative: const ["Кыргыз сом"], - priority: 100, - smallestDenomination: 1, subunit: "Tyiyn", - subunitToUnit: 100, - unitFirst: false, translations: kgsCurrencyTranslations, ); } @@ -1859,19 +1453,12 @@ class FiatKhr extends FiatCurrency { : super( code: "KHR", name: "Cambodian Riel", - decimalMark: ".", - thousandsSeparator: ",", symbol: "៛", - alternateSymbols: null, - disambiguateSymbol: null, htmlEntity: "៛", codeNumeric: "116", namesNative: const ["រៀល"], - priority: 100, smallestDenomination: 5000, subunit: "Sen", - subunitToUnit: 100, - unitFirst: false, translations: khrCurrencyTranslations, ); } @@ -1885,19 +1472,14 @@ class FiatKmf extends FiatCurrency { : super( code: "KMF", name: "Comorian Franc", - decimalMark: ".", - thousandsSeparator: ",", symbol: "Fr", alternateSymbols: const ["CF"], disambiguateSymbol: "CF", - htmlEntity: null, codeNumeric: "174", namesNative: const ["Comorian franc"], - priority: 100, smallestDenomination: 100, subunit: "Centime", subunitToUnit: 1, - unitFirst: false, translations: kmfCurrencyTranslations, ); } @@ -1911,19 +1493,11 @@ class FiatKpw extends FiatCurrency { : super( code: "KPW", name: "North Korean Won", - decimalMark: ".", - thousandsSeparator: ",", symbol: "₩", - alternateSymbols: null, - disambiguateSymbol: null, htmlEntity: "₩", codeNumeric: "408", namesNative: const ["조선 민주주의 인민 공화국 원"], - priority: 100, - smallestDenomination: 1, subunit: "Chŏn", - subunitToUnit: 100, - unitFirst: false, translations: kpwCurrencyTranslations, ); } @@ -1937,17 +1511,10 @@ class FiatKrw extends FiatCurrency { : super( code: "KRW", name: "South Korean Won", - decimalMark: ".", - thousandsSeparator: ",", symbol: "₩", - alternateSymbols: null, - disambiguateSymbol: null, htmlEntity: "₩", codeNumeric: "410", namesNative: const ["원"], - priority: 100, - smallestDenomination: 1, - subunit: null, subunitToUnit: 1, unitFirst: true, translations: krwCurrencyTranslations, @@ -1963,15 +1530,10 @@ class FiatKwd extends FiatCurrency { : super( code: "KWD", name: "Kuwaiti Dinar", - decimalMark: ".", - thousandsSeparator: ",", symbol: "د.ك", alternateSymbols: const ["K.D."], - disambiguateSymbol: null, - htmlEntity: null, codeNumeric: "414", namesNative: const ["دينار كويتي"], - priority: 100, smallestDenomination: 5, subunit: "Fils", subunitToUnit: 1000, @@ -1989,18 +1551,13 @@ class FiatKyd extends FiatCurrency { : super( code: "KYD", name: "Cayman Islands Dollar", - decimalMark: ".", - thousandsSeparator: ",", symbol: r"$", alternateSymbols: const [r"CI$"], disambiguateSymbol: r"CI$", htmlEntity: r"$", codeNumeric: "136", namesNative: const ["Cayman Islands dollar"], - priority: 100, - smallestDenomination: 1, subunit: "Cent", - subunitToUnit: 100, unitFirst: true, translations: kydCurrencyTranslations, ); @@ -2015,19 +1572,11 @@ class FiatKzt extends FiatCurrency { : super( code: "KZT", name: "Kazakhstani Tenge", - decimalMark: ".", - thousandsSeparator: ",", symbol: "₸", - alternateSymbols: null, - disambiguateSymbol: null, - htmlEntity: null, codeNumeric: "398", namesNative: const ["Қазақстан теңгесі", "Казахстанский тенге"], - priority: 100, smallestDenomination: 100, subunit: "Tiyn", - subunitToUnit: 100, - unitFirst: false, translations: kztCurrencyTranslations, ); } @@ -2041,19 +1590,13 @@ class FiatLak extends FiatCurrency { : super( code: "LAK", name: "Laotian Kip", - decimalMark: ".", - thousandsSeparator: ",", symbol: "₭", alternateSymbols: const ["₭N"], - disambiguateSymbol: null, htmlEntity: "₭", codeNumeric: "418", namesNative: const ["ເງີນກີບລາວ"], - priority: 100, smallestDenomination: 10, subunit: "Att", - subunitToUnit: 100, - unitFirst: false, translations: lakCurrencyTranslations, ); } @@ -2067,18 +1610,13 @@ class FiatLbp extends FiatCurrency { : super( code: "LBP", name: "Lebanese Pound", - decimalMark: ".", - thousandsSeparator: ",", symbol: "ل.ل", alternateSymbols: const ["£", "L£"], - disambiguateSymbol: null, htmlEntity: "£", codeNumeric: "422", namesNative: const ["ليرة لبنانية"], - priority: 100, smallestDenomination: 25000, subunit: "Piastre", - subunitToUnit: 100, unitFirst: true, translations: lbpCurrencyTranslations, ); @@ -2093,19 +1631,14 @@ class FiatLkr extends FiatCurrency { : super( code: "LKR", name: "Sri Lankan Rupee", - decimalMark: ".", - thousandsSeparator: ",", symbol: "₨", alternateSymbols: const ["රු", "ரூ", "SLRs", "/-"], disambiguateSymbol: "SLRs", htmlEntity: "₨", codeNumeric: "144", namesNative: const ["ශ්‍රී ලංකා රුපියල්"], - priority: 100, smallestDenomination: 100, subunit: "Cent", - subunitToUnit: 100, - unitFirst: false, translations: lkrCurrencyTranslations, ); } @@ -2119,19 +1652,14 @@ class FiatLrd extends FiatCurrency { : super( code: "LRD", name: "Liberian Dollar", - decimalMark: ".", - thousandsSeparator: ",", symbol: r"$", alternateSymbols: const [r"L$"], disambiguateSymbol: r"L$", htmlEntity: r"$", codeNumeric: "430", namesNative: const ["Liberian dollars"], - priority: 100, smallestDenomination: 5, subunit: "Cent", - subunitToUnit: 100, - unitFirst: false, translations: lrdCurrencyTranslations, ); } @@ -2145,19 +1673,12 @@ class FiatLsl extends FiatCurrency { : super( code: "LSL", name: "Lesotho Loti", - decimalMark: ".", - thousandsSeparator: ",", symbol: "L", alternateSymbols: const ["M"], disambiguateSymbol: "M", - htmlEntity: null, codeNumeric: "426", namesNative: const ["Lesotho loti"], - priority: 100, - smallestDenomination: 1, subunit: "Sente", - subunitToUnit: 100, - unitFirst: false, translations: lslCurrencyTranslations, ); } @@ -2171,19 +1692,13 @@ class FiatLyd extends FiatCurrency { : super( code: "LYD", name: "Libyan Dinar", - decimalMark: ".", - thousandsSeparator: ",", symbol: "ل.د", alternateSymbols: const ["LD"], - disambiguateSymbol: null, - htmlEntity: null, codeNumeric: "434", namesNative: const ["دينار ليبي"], - priority: 100, smallestDenomination: 50, subunit: "Dirham", subunitToUnit: 1000, - unitFirst: false, translations: lydCurrencyTranslations, ); } @@ -2197,19 +1712,10 @@ class FiatMad extends FiatCurrency { : super( code: "MAD", name: "Moroccan Dirham", - decimalMark: ".", - thousandsSeparator: ",", symbol: "د.م.", - alternateSymbols: null, - disambiguateSymbol: null, - htmlEntity: null, codeNumeric: "504", namesNative: const ["درهم مغربي"], - priority: 100, - smallestDenomination: 1, subunit: "Centime", - subunitToUnit: 100, - unitFirst: false, translations: madCurrencyTranslations, ); } @@ -2223,19 +1729,11 @@ class FiatMdl extends FiatCurrency { : super( code: "MDL", name: "Moldovan Leu", - decimalMark: ".", - thousandsSeparator: ",", symbol: "L", alternateSymbols: const ["lei"], - disambiguateSymbol: null, - htmlEntity: null, codeNumeric: "498", namesNative: const ["leu moldovenesc"], - priority: 100, - smallestDenomination: 1, subunit: "Ban", - subunitToUnit: 100, - unitFirst: false, translations: mdlCurrencyTranslations, ); } @@ -2249,16 +1747,9 @@ class FiatMga extends FiatCurrency { : super( code: "MGA", name: "Malagasy Ariary", - decimalMark: ".", - thousandsSeparator: ",", symbol: "Ar", - alternateSymbols: null, - disambiguateSymbol: null, - htmlEntity: null, codeNumeric: "969", namesNative: const ["ariary malgache"], - priority: 100, - smallestDenomination: 1, subunit: "Iraimbilanja", subunitToUnit: 5, unitFirst: true, @@ -2275,19 +1766,11 @@ class FiatMkd extends FiatCurrency { : super( code: "MKD", name: "Macedonian Denar", - decimalMark: ".", - thousandsSeparator: ",", symbol: "ден", - alternateSymbols: null, - disambiguateSymbol: null, - htmlEntity: null, codeNumeric: "807", namesNative: const ["Македонски денар"], - priority: 100, smallestDenomination: 100, subunit: "Deni", - subunitToUnit: 100, - unitFirst: false, translations: mkdCurrencyTranslations, ); } @@ -2301,19 +1784,12 @@ class FiatMmk extends FiatCurrency { : super( code: "MMK", name: "Myanmar Kyat", - decimalMark: ".", - thousandsSeparator: ",", symbol: "K", - alternateSymbols: null, disambiguateSymbol: "MMK", - htmlEntity: null, codeNumeric: "104", namesNative: const ["ကျပ်"], - priority: 100, smallestDenomination: 50, subunit: "Pya", - subunitToUnit: 100, - unitFirst: false, translations: mmkCurrencyTranslations, ); } @@ -2327,19 +1803,12 @@ class FiatMnt extends FiatCurrency { : super( code: "MNT", name: "Mongolian Tugrik", - decimalMark: ".", - thousandsSeparator: ",", symbol: "₮", - alternateSymbols: null, - disambiguateSymbol: null, htmlEntity: "₮", codeNumeric: "496", namesNative: const ["Монгол төгрөг"], - priority: 100, smallestDenomination: 2000, subunit: "Möngö", - subunitToUnit: 100, - unitFirst: false, translations: mntCurrencyTranslations, ); } @@ -2353,19 +1822,12 @@ class FiatMop extends FiatCurrency { : super( code: "MOP", name: "Macanese Pataca", - decimalMark: ".", - thousandsSeparator: ",", symbol: "P", alternateSymbols: const [r"MOP$"], - disambiguateSymbol: null, - htmlEntity: null, codeNumeric: "446", namesNative: const ["澳門圓"], - priority: 100, smallestDenomination: 10, subunit: "Avo", - subunitToUnit: 100, - unitFirst: false, translations: mopCurrencyTranslations, ); } @@ -2379,19 +1841,11 @@ class FiatMru extends FiatCurrency { : super( code: "MRU", name: "Mauritanian Ouguiya", - decimalMark: ".", - thousandsSeparator: ",", symbol: "UM", - alternateSymbols: null, - disambiguateSymbol: null, - htmlEntity: null, codeNumeric: "929", namesNative: const ["أوقية موريتانية"], - priority: 100, - smallestDenomination: 1, subunit: "Khoums", subunitToUnit: 5, - unitFirst: false, translations: mruCurrencyTranslations, ); } @@ -2405,18 +1859,12 @@ class FiatMur extends FiatCurrency { : super( code: "MUR", name: "Mauritian Rupee", - decimalMark: ".", - thousandsSeparator: ",", symbol: "₨", - alternateSymbols: null, - disambiguateSymbol: null, htmlEntity: "₨", codeNumeric: "480", namesNative: const ["Roupie mauricienne"], - priority: 100, smallestDenomination: 100, subunit: "Cent", - subunitToUnit: 100, unitFirst: true, translations: murCurrencyTranslations, ); @@ -2431,19 +1879,10 @@ class FiatMvr extends FiatCurrency { : super( code: "MVR", name: "Maldivian Rufiyaa", - decimalMark: ".", - thousandsSeparator: ",", - symbol: null, alternateSymbols: const ["MRF", "Rf", "/-", "ރ"], - disambiguateSymbol: null, - htmlEntity: null, codeNumeric: "462", namesNative: const ["ދިވެހި ރުފިޔާ"], - priority: 100, - smallestDenomination: 1, subunit: "Laari", - subunitToUnit: 100, - unitFirst: false, translations: mvrCurrencyTranslations, ); } @@ -2457,19 +1896,10 @@ class FiatMwk extends FiatCurrency { : super( code: "MWK", name: "Malawian Kwacha", - decimalMark: ".", - thousandsSeparator: ",", symbol: "MK", - alternateSymbols: null, - disambiguateSymbol: null, - htmlEntity: null, codeNumeric: "454", namesNative: const ["Malawian kwacha"], - priority: 100, - smallestDenomination: 1, subunit: "Tambala", - subunitToUnit: 100, - unitFirst: false, translations: mwkCurrencyTranslations, ); } @@ -2483,18 +1913,14 @@ class FiatMxn extends FiatCurrency { : super( code: "MXN", name: "Mexican Peso", - decimalMark: ".", - thousandsSeparator: ",", symbol: r"$", alternateSymbols: const [r"MEX$"], disambiguateSymbol: r"MEX$", htmlEntity: r"$", codeNumeric: "484", namesNative: const ["Peso Mexicano"], - priority: 100, smallestDenomination: 5, subunit: "Centavo", - subunitToUnit: 100, unitFirst: true, translations: mxnCurrencyTranslations, ); @@ -2509,18 +1935,11 @@ class FiatMyr extends FiatCurrency { : super( code: "MYR", name: "Malaysian Ringgit", - decimalMark: ".", - thousandsSeparator: ",", symbol: "RM", - alternateSymbols: null, - disambiguateSymbol: null, - htmlEntity: null, codeNumeric: "458", namesNative: const ["Ringgit Malaysia"], - priority: 100, smallestDenomination: 5, subunit: "Sen", - subunitToUnit: 100, unitFirst: true, translations: myrCurrencyTranslations, ); @@ -2539,14 +1958,9 @@ class FiatMzn extends FiatCurrency { thousandsSeparator: ".", symbol: "MTn", alternateSymbols: const ["MZN"], - disambiguateSymbol: null, - htmlEntity: null, codeNumeric: "943", namesNative: const ["Metical moçambicano"], - priority: 100, - smallestDenomination: 1, subunit: "Centavo", - subunitToUnit: 100, unitFirst: true, translations: mznCurrencyTranslations, ); @@ -2561,19 +1975,14 @@ class FiatNad extends FiatCurrency { : super( code: "NAD", name: "Namibian Dollar", - decimalMark: ".", - thousandsSeparator: ",", symbol: r"$", alternateSymbols: const [r"N$"], disambiguateSymbol: r"N$", htmlEntity: r"$", codeNumeric: "516", namesNative: const ["Namibian dollar"], - priority: 100, smallestDenomination: 5, subunit: "Cent", - subunitToUnit: 100, - unitFirst: false, translations: nadCurrencyTranslations, ); } @@ -2587,18 +1996,12 @@ class FiatNgn extends FiatCurrency { : super( code: "NGN", name: "Nigerian Naira", - decimalMark: ".", - thousandsSeparator: ",", symbol: "₦", - alternateSymbols: null, - disambiguateSymbol: null, htmlEntity: "₦", codeNumeric: "566", namesNative: const ["Nigerian naira"], - priority: 100, smallestDenomination: 50, subunit: "Kobo", - subunitToUnit: 100, unitFirst: true, translations: ngnCurrencyTranslations, ); @@ -2613,18 +2016,12 @@ class FiatNio extends FiatCurrency { : super( code: "NIO", name: "Nicaraguan Córdoba", - decimalMark: ".", - thousandsSeparator: ",", symbol: r"C$", - alternateSymbols: null, disambiguateSymbol: r"NIO$", - htmlEntity: null, codeNumeric: "558", namesNative: const ["córdoba nicaragüense"], - priority: 100, smallestDenomination: 5, subunit: "Centavo", - subunitToUnit: 100, unitFirst: true, translations: nioCurrencyTranslations, ); @@ -2647,11 +2044,8 @@ class FiatNok extends FiatCurrency { htmlEntity: "kr", codeNumeric: "578", namesNative: const ["norsk krone"], - priority: 100, smallestDenomination: 100, subunit: "Øre", - subunitToUnit: 100, - unitFirst: false, translations: nokCurrencyTranslations, ); } @@ -2665,18 +2059,13 @@ class FiatNpr extends FiatCurrency { : super( code: "NPR", name: "Nepalese Rupee", - decimalMark: ".", - thousandsSeparator: ",", symbol: "Rs.", alternateSymbols: const ["Rs", "रू", "₨"], disambiguateSymbol: "NPR", htmlEntity: "₨", codeNumeric: "524", namesNative: const ["रुपैयाँ"], - priority: 100, - smallestDenomination: 1, subunit: "Paisa", - subunitToUnit: 100, unitFirst: true, translations: nprCurrencyTranslations, ); @@ -2691,18 +2080,14 @@ class FiatNzd extends FiatCurrency { : super( code: "NZD", name: "New Zealand Dollar", - decimalMark: ".", - thousandsSeparator: ",", symbol: r"$", alternateSymbols: const [r"NZ$"], disambiguateSymbol: r"NZ$", htmlEntity: r"$", codeNumeric: "554", namesNative: const ["New Zealand dollar"], - priority: 100, smallestDenomination: 10, subunit: "Cent", - subunitToUnit: 100, unitFirst: true, translations: nzdCurrencyTranslations, ); @@ -2717,15 +2102,10 @@ class FiatOmr extends FiatCurrency { : super( code: "OMR", name: "Omani Rial", - decimalMark: ".", - thousandsSeparator: ",", symbol: "ر.ع.", - alternateSymbols: null, - disambiguateSymbol: null, htmlEntity: "﷼", codeNumeric: "512", namesNative: const ["ريال عماني"], - priority: 100, smallestDenomination: 5, subunit: "Baisa", subunitToUnit: 1000, @@ -2743,18 +2123,10 @@ class FiatPab extends FiatCurrency { : super( code: "PAB", name: "Panamanian Balboa", - decimalMark: ".", - thousandsSeparator: ",", symbol: "B/.", - alternateSymbols: null, - disambiguateSymbol: null, - htmlEntity: null, codeNumeric: "590", namesNative: const ["Balboa panameño"], - priority: 100, - smallestDenomination: 1, subunit: "Centésimo", - subunitToUnit: 100, unitFirst: true, translations: pabCurrencyTranslations, ); @@ -2772,15 +2144,10 @@ class FiatPen extends FiatCurrency { decimalMark: ",", thousandsSeparator: ".", symbol: "S/", - alternateSymbols: null, - disambiguateSymbol: null, htmlEntity: "S/", codeNumeric: "604", namesNative: const ["sol peruano"], - priority: 100, - smallestDenomination: 1, subunit: "Céntimo", - subunitToUnit: 100, unitFirst: true, translations: penCurrencyTranslations, ); @@ -2795,19 +2162,12 @@ class FiatPgk extends FiatCurrency { : super( code: "PGK", name: "Papua New Guinean Kina", - decimalMark: ".", - thousandsSeparator: ",", symbol: "K", - alternateSymbols: null, disambiguateSymbol: "PGK", - htmlEntity: null, codeNumeric: "598", namesNative: const ["Papua New Guinean kina"], - priority: 100, smallestDenomination: 5, subunit: "Toea", - subunitToUnit: 100, - unitFirst: false, translations: pgkCurrencyTranslations, ); } @@ -2821,18 +2181,12 @@ class FiatPhp extends FiatCurrency { : super( code: "PHP", name: "Philippine Peso", - decimalMark: ".", - thousandsSeparator: ",", symbol: "₱", alternateSymbols: const ["PHP", "PhP", "P"], - disambiguateSymbol: null, htmlEntity: "₱", codeNumeric: "608", namesNative: const ["Piso ng Pilipinas"], - priority: 100, - smallestDenomination: 1, subunit: "Centavo", - subunitToUnit: 100, unitFirst: true, translations: phpCurrencyTranslations, ); @@ -2847,18 +2201,14 @@ class FiatPkr extends FiatCurrency { : super( code: "PKR", name: "Pakistani Rupee", - decimalMark: ".", - thousandsSeparator: ",", symbol: "₨", alternateSymbols: const ["Rs"], disambiguateSymbol: "PKR", htmlEntity: "₨", codeNumeric: "586", namesNative: const ["پاکستانی روپیہ"], - priority: 100, smallestDenomination: 100, subunit: "Paisa", - subunitToUnit: 100, unitFirst: true, translations: pkrCurrencyTranslations, ); @@ -2876,16 +2226,10 @@ class FiatPln extends FiatCurrency { decimalMark: ",", thousandsSeparator: " ", symbol: "zł", - alternateSymbols: null, - disambiguateSymbol: null, htmlEntity: "zł", codeNumeric: "985", namesNative: const ["Polski złoty"], - priority: 100, - smallestDenomination: 1, subunit: "Grosz", - subunitToUnit: 100, - unitFirst: false, translations: plnCurrencyTranslations, ); } @@ -2899,15 +2243,10 @@ class FiatPyg extends FiatCurrency { : super( code: "PYG", name: "Paraguayan Guarani", - decimalMark: ".", - thousandsSeparator: ",", symbol: "₲", - alternateSymbols: null, - disambiguateSymbol: null, htmlEntity: "₲", codeNumeric: "600", namesNative: const ["Guaraní paraguayo"], - priority: 100, smallestDenomination: 5000, subunit: "Céntimo", subunitToUnit: 1, @@ -2925,19 +2264,12 @@ class FiatQar extends FiatCurrency { : super( code: "QAR", name: "Qatari Riyal", - decimalMark: ".", - thousandsSeparator: ",", symbol: "ر.ق", alternateSymbols: const ["QR"], - disambiguateSymbol: null, htmlEntity: "﷼", codeNumeric: "634", namesNative: const ["ريال قطري"], - priority: 100, - smallestDenomination: 1, subunit: "Dirham", - subunitToUnit: 100, - unitFirst: false, translations: qarCurrencyTranslations, ); } @@ -2954,16 +2286,9 @@ class FiatRon extends FiatCurrency { decimalMark: ",", thousandsSeparator: ".", symbol: "Lei", - alternateSymbols: null, - disambiguateSymbol: null, - htmlEntity: null, codeNumeric: "946", namesNative: const ["Leu românesc"], - priority: 100, - smallestDenomination: 1, subunit: "Bani", - subunitToUnit: 100, - unitFirst: false, translations: ronCurrencyTranslations, ); } @@ -2977,18 +2302,12 @@ class FiatRsd extends FiatCurrency { : super( code: "RSD", name: "Serbian Dinar", - decimalMark: ".", - thousandsSeparator: ",", symbol: "РСД", alternateSymbols: const ["RSD", "din", "дин"], - disambiguateSymbol: null, - htmlEntity: null, codeNumeric: "941", namesNative: const ["Српски динар", "Srpski dinar"], - priority: 100, smallestDenomination: 100, subunit: "Para", - subunitToUnit: 100, unitFirst: true, translations: rsdCurrencyTranslations, ); @@ -3007,15 +2326,10 @@ class FiatRub extends FiatCurrency { thousandsSeparator: ".", symbol: "₽", alternateSymbols: const ["руб.", "р."], - disambiguateSymbol: null, htmlEntity: "₽", codeNumeric: "643", namesNative: const ["Российский рубль"], - priority: 100, - smallestDenomination: 1, subunit: "Kopeck", - subunitToUnit: 100, - unitFirst: false, translations: rubCurrencyTranslations, ); } @@ -3029,19 +2343,13 @@ class FiatRwf extends FiatCurrency { : super( code: "RWF", name: "Rwandan Franc", - decimalMark: ".", - thousandsSeparator: ",", symbol: "FRw", alternateSymbols: const ["RF", "R₣"], - disambiguateSymbol: null, - htmlEntity: null, codeNumeric: "646", namesNative: const ["Franc Rwandais"], - priority: 100, smallestDenomination: 100, subunit: "Centime", subunitToUnit: 1, - unitFirst: false, translations: rwfCurrencyTranslations, ); } @@ -3055,18 +2363,13 @@ class FiatSar extends FiatCurrency { : super( code: "SAR", name: "Saudi Riyal", - decimalMark: ".", - thousandsSeparator: ",", symbol: "ر.س", alternateSymbols: const ["SR", "﷼"], - disambiguateSymbol: null, htmlEntity: "﷼", codeNumeric: "682", namesNative: const ["ريال سعودي"], - priority: 100, smallestDenomination: 5, subunit: "Hallallah", - subunitToUnit: 100, unitFirst: true, translations: sarCurrencyTranslations, ); @@ -3081,19 +2384,14 @@ class FiatSbd extends FiatCurrency { : super( code: "SBD", name: "Solomon Islands Dollar", - decimalMark: ".", - thousandsSeparator: ",", symbol: r"$", alternateSymbols: const [r"SI$"], disambiguateSymbol: r"SI$", htmlEntity: r"$", codeNumeric: "090", namesNative: const ["Solomon Islands dollar"], - priority: 100, smallestDenomination: 10, subunit: "Cent", - subunitToUnit: 100, - unitFirst: false, translations: sbdCurrencyTranslations, ); } @@ -3107,19 +2405,13 @@ class FiatScr extends FiatCurrency { : super( code: "SCR", name: "Seychellois Rupee", - decimalMark: ".", - thousandsSeparator: ",", symbol: "₨", alternateSymbols: const ["SRe", "SR"], disambiguateSymbol: "SRe", htmlEntity: "₨", codeNumeric: "690", namesNative: const ["roupie seychelloise"], - priority: 100, - smallestDenomination: 1, subunit: "Cent", - subunitToUnit: 100, - unitFirst: false, translations: scrCurrencyTranslations, ); } @@ -3133,18 +2425,11 @@ class FiatSdg extends FiatCurrency { : super( code: "SDG", name: "Sudanese Pound", - decimalMark: ".", - thousandsSeparator: ",", symbol: "£", - alternateSymbols: null, disambiguateSymbol: "SDG", - htmlEntity: null, codeNumeric: "938", namesNative: const ["جنيه سوداني"], - priority: 100, - smallestDenomination: 1, subunit: "Piastre", - subunitToUnit: 100, unitFirst: true, translations: sdgCurrencyTranslations, ); @@ -3164,14 +2449,10 @@ class FiatSek extends FiatCurrency { symbol: "kr", alternateSymbols: const [":-"], disambiguateSymbol: "SEK", - htmlEntity: null, codeNumeric: "752", namesNative: const ["svensk krona"], - priority: 100, smallestDenomination: 100, subunit: "Öre", - subunitToUnit: 100, - unitFirst: false, translations: sekCurrencyTranslations, ); } @@ -3185,18 +2466,13 @@ class FiatSgd extends FiatCurrency { : super( code: "SGD", name: "Singapore Dollar", - decimalMark: ".", - thousandsSeparator: ",", symbol: r"$", alternateSymbols: const [r"S$"], disambiguateSymbol: r"S$", htmlEntity: r"$", codeNumeric: "702", namesNative: const ["Singapore dollar"], - priority: 100, - smallestDenomination: 1, subunit: "Cent", - subunitToUnit: 100, unitFirst: true, translations: sgdCurrencyTranslations, ); @@ -3211,19 +2487,12 @@ class FiatShp extends FiatCurrency { : super( code: "SHP", name: "St. Helena Pound", - decimalMark: ".", - thousandsSeparator: ",", symbol: "£", - alternateSymbols: null, disambiguateSymbol: "SHP", htmlEntity: "£", codeNumeric: "654", namesNative: const ["Saint Helena pound"], - priority: 100, - smallestDenomination: 1, subunit: "Penny", - subunitToUnit: 100, - unitFirst: false, translations: shpCurrencyTranslations, ); } @@ -3237,19 +2506,12 @@ class FiatSle extends FiatCurrency { : super( code: "SLE", name: "Sierra Leonean Leone", - decimalMark: ".", - thousandsSeparator: ",", symbol: "Le", - alternateSymbols: null, disambiguateSymbol: "SLE", - htmlEntity: null, codeNumeric: "925", namesNative: const ["Sierra Leonean leone"], - priority: 100, smallestDenomination: 1000, subunit: "Cent", - subunitToUnit: 100, - unitFirst: false, translations: sleCurrencyTranslations, ); } @@ -3263,19 +2525,12 @@ class FiatSll extends FiatCurrency { : super( code: "SLL", name: "Sierra Leonean Leone (Old)", - decimalMark: ".", - thousandsSeparator: ",", symbol: "Le", - alternateSymbols: null, disambiguateSymbol: "SLL", - htmlEntity: null, codeNumeric: "694", namesNative: const ["Sierra Leonean leone"], - priority: 100, smallestDenomination: 1000, subunit: "Cent", - subunitToUnit: 100, - unitFirst: false, translations: sllCurrencyTranslations, ); } @@ -3289,19 +2544,11 @@ class FiatSos extends FiatCurrency { : super( code: "SOS", name: "Somali Shilling", - decimalMark: ".", - thousandsSeparator: ",", symbol: "Sh", alternateSymbols: const ["Sh.So"], - disambiguateSymbol: null, - htmlEntity: null, codeNumeric: "706", namesNative: const ["Shilin soomaali"], - priority: 100, - smallestDenomination: 1, subunit: "Cent", - subunitToUnit: 100, - unitFirst: false, translations: sosCurrencyTranslations, ); } @@ -3315,19 +2562,11 @@ class FiatSrd extends FiatCurrency { : super( code: "SRD", name: "Surinamese Dollar", - decimalMark: ".", - thousandsSeparator: ",", symbol: r"$", - alternateSymbols: null, disambiguateSymbol: "SRD", - htmlEntity: null, codeNumeric: "968", namesNative: const ["Surinamese dollar"], - priority: 100, - smallestDenomination: 1, subunit: "Cent", - subunitToUnit: 100, - unitFirst: false, translations: srdCurrencyTranslations, ); } @@ -3341,19 +2580,13 @@ class FiatSsp extends FiatCurrency { : super( code: "SSP", name: "South Sudanese Pound", - decimalMark: ".", - thousandsSeparator: ",", symbol: "£", - alternateSymbols: null, disambiguateSymbol: "SSP", htmlEntity: "£", codeNumeric: "728", namesNative: const ["South Sudanese pound"], - priority: 100, smallestDenomination: 5, subunit: "piaster", - subunitToUnit: 100, - unitFirst: false, translations: sspCurrencyTranslations, ); } @@ -3368,19 +2601,12 @@ class FiatStn extends FiatCurrency { : super( code: "STN", name: "São Tomé and Príncipe Second Dobra", - decimalMark: ".", - thousandsSeparator: ",", symbol: "Db", - alternateSymbols: null, disambiguateSymbol: "STN", - htmlEntity: null, codeNumeric: "930", namesNative: const ["dobra são-tomense"], - priority: 100, smallestDenomination: 10, subunit: "Cêntimo", - subunitToUnit: 100, - unitFirst: false, translations: stnCurrencyTranslations, ); } @@ -3394,18 +2620,12 @@ class FiatSvc extends FiatCurrency { : super( code: "SVC", name: "Salvadoran Colón", - decimalMark: ".", - thousandsSeparator: ",", symbol: "₡", alternateSymbols: const ["¢"], - disambiguateSymbol: null, htmlEntity: "₡", codeNumeric: "222", namesNative: const ["Colón salvadoreño"], - priority: 100, - smallestDenomination: 1, subunit: "Centavo", - subunitToUnit: 100, unitFirst: true, translations: svcCurrencyTranslations, ); @@ -3420,19 +2640,13 @@ class FiatSyp extends FiatCurrency { : super( code: "SYP", name: "Syrian Pound", - decimalMark: ".", - thousandsSeparator: ",", symbol: "£S", alternateSymbols: const ["£", "ل.س", "LS", "الليرة السورية"], - disambiguateSymbol: null, htmlEntity: "£", codeNumeric: "760", namesNative: const ["الليرة السورية"], - priority: 100, smallestDenomination: 100, subunit: "Piastre", - subunitToUnit: 100, - unitFirst: false, translations: sypCurrencyTranslations, ); } @@ -3446,18 +2660,11 @@ class FiatSzl extends FiatCurrency { : super( code: "SZL", name: "Swazi Lilangeni", - decimalMark: ".", - thousandsSeparator: ",", symbol: "E", - alternateSymbols: null, disambiguateSymbol: "SZL", - htmlEntity: null, codeNumeric: "748", namesNative: const ["Swazi lilangeni"], - priority: 100, - smallestDenomination: 1, subunit: "Cent", - subunitToUnit: 100, unitFirst: true, translations: szlCurrencyTranslations, ); @@ -3472,18 +2679,11 @@ class FiatThb extends FiatCurrency { : super( code: "THB", name: "Thai Baht", - decimalMark: ".", - thousandsSeparator: ",", symbol: "฿", - alternateSymbols: null, - disambiguateSymbol: null, htmlEntity: "฿", codeNumeric: "764", namesNative: const ["บาทไทย"], - priority: 100, - smallestDenomination: 1, subunit: "Satang", - subunitToUnit: 100, unitFirst: true, translations: thbCurrencyTranslations, ); @@ -3498,19 +2698,10 @@ class FiatTjs extends FiatCurrency { : super( code: "TJS", name: "Tajikistani Somoni", - decimalMark: ".", - thousandsSeparator: ",", symbol: "ЅМ", - alternateSymbols: null, - disambiguateSymbol: null, - htmlEntity: null, codeNumeric: "972", namesNative: const ["Сомонӣ"], - priority: 100, - smallestDenomination: 1, subunit: "Diram", - subunitToUnit: 100, - unitFirst: false, translations: tjsCurrencyTranslations, ); } @@ -3524,19 +2715,10 @@ class FiatTmt extends FiatCurrency { : super( code: "TMT", name: "Turkmenistani Manat", - decimalMark: ".", - thousandsSeparator: ",", symbol: "T", - alternateSymbols: null, - disambiguateSymbol: null, - htmlEntity: null, codeNumeric: "934", namesNative: const ["manat"], - priority: 100, - smallestDenomination: 1, subunit: "Tenge", - subunitToUnit: 100, - unitFirst: false, translations: tmtCurrencyTranslations, ); } @@ -3550,19 +2732,13 @@ class FiatTnd extends FiatCurrency { : super( code: "TND", name: "Tunisian Dinar", - decimalMark: ".", - thousandsSeparator: ",", symbol: "د.ت", alternateSymbols: const ["TD", "DT"], - disambiguateSymbol: null, - htmlEntity: null, codeNumeric: "788", namesNative: const ["دينار تونسي"], - priority: 100, smallestDenomination: 10, subunit: "Millime", subunitToUnit: 1000, - unitFirst: false, translations: tndCurrencyTranslations, ); } @@ -3576,18 +2752,11 @@ class FiatTop extends FiatCurrency { : super( code: "TOP", name: "Tongan Paʻanga", - decimalMark: ".", - thousandsSeparator: ",", symbol: r"T$", alternateSymbols: const ["PT"], - disambiguateSymbol: null, - htmlEntity: null, codeNumeric: "776", namesNative: const ["Tongan paʻanga"], - priority: 100, - smallestDenomination: 1, subunit: "Seniti", - subunitToUnit: 100, unitFirst: true, translations: topCurrencyTranslations, ); @@ -3606,14 +2775,10 @@ class FiatTry extends FiatCurrency { thousandsSeparator: ".", symbol: "₺", alternateSymbols: const ["TL"], - disambiguateSymbol: null, htmlEntity: "₺", codeNumeric: "949", namesNative: const ["Türk lirası"], - priority: 100, - smallestDenomination: 1, subunit: "kuruş", - subunitToUnit: 100, unitFirst: true, translations: tryCurrencyTranslations, ); @@ -3628,19 +2793,13 @@ class FiatTtd extends FiatCurrency { : super( code: "TTD", name: "Trinidad & Tobago Dollar", - decimalMark: ".", - thousandsSeparator: ",", symbol: r"$", alternateSymbols: const [r"TT$"], disambiguateSymbol: r"TT$", htmlEntity: r"$", codeNumeric: "780", namesNative: const ["Trinidad & Tobago Dollar"], - priority: 100, - smallestDenomination: 1, subunit: "Cent", - subunitToUnit: 100, - unitFirst: false, translations: ttdCurrencyTranslations, ); } @@ -3654,18 +2813,14 @@ class FiatTwd extends FiatCurrency { : super( code: "TWD", name: "New Taiwan Dollar", - decimalMark: ".", - thousandsSeparator: ",", symbol: r"$", alternateSymbols: const [r"NT$"], disambiguateSymbol: r"NT$", htmlEntity: r"$", codeNumeric: "901", namesNative: const ["新臺幣"], - priority: 100, smallestDenomination: 50, subunit: "Cent", - subunitToUnit: 100, unitFirst: true, translations: twdCurrencyTranslations, ); @@ -3680,18 +2835,11 @@ class FiatTzs extends FiatCurrency { : super( code: "TZS", name: "Tanzanian Shilling", - decimalMark: ".", - thousandsSeparator: ",", symbol: "Sh", - alternateSymbols: null, - disambiguateSymbol: null, - htmlEntity: null, codeNumeric: "834", namesNative: const ["Shilingi ya Tanzania"], - priority: 100, smallestDenomination: 5000, subunit: "Cent", - subunitToUnit: 100, unitFirst: true, translations: tzsCurrencyTranslations, ); @@ -3706,19 +2854,11 @@ class FiatUah extends FiatCurrency { : super( code: "UAH", name: "Ukrainian Hryvnia", - decimalMark: ".", - thousandsSeparator: ",", symbol: "₴", - alternateSymbols: null, - disambiguateSymbol: null, htmlEntity: "₴", codeNumeric: "980", namesNative: const ["українська гривня"], - priority: 100, - smallestDenomination: 1, subunit: "Kopiyka", - subunitToUnit: 100, - unitFirst: false, translations: uahCurrencyTranslations, ); } @@ -3732,19 +2872,12 @@ class FiatUgx extends FiatCurrency { : super( code: "UGX", name: "Ugandan Shilling", - decimalMark: ".", - thousandsSeparator: ",", symbol: "USh", - alternateSymbols: null, - disambiguateSymbol: null, - htmlEntity: null, codeNumeric: "800", namesNative: const ["Shilingi ya Uganda"], - priority: 100, smallestDenomination: 1000, subunit: "Cent", subunitToUnit: 1, - unitFirst: false, translations: ugxCurrencyTranslations, ); } @@ -3758,8 +2891,6 @@ class FiatUsd extends FiatCurrency { : super( code: "USD", name: "United States Dollar", - decimalMark: ".", - thousandsSeparator: ",", symbol: r"$", alternateSymbols: const [r"US$"], disambiguateSymbol: r"US$", @@ -3767,9 +2898,7 @@ class FiatUsd extends FiatCurrency { codeNumeric: "840", namesNative: const ["US Dollars"], priority: 1, - smallestDenomination: 1, subunit: "Cent", - subunitToUnit: 100, unitFirst: true, translations: usdCurrencyTranslations, ); @@ -3788,14 +2917,11 @@ class FiatUyu extends FiatCurrency { thousandsSeparator: ".", symbol: r"$U", alternateSymbols: const [r"$U"], - disambiguateSymbol: null, htmlEntity: r"$U", codeNumeric: "858", namesNative: const ["peso uruguayo"], - priority: 100, smallestDenomination: 100, subunit: "Centésimo", - subunitToUnit: 100, unitFirst: true, translations: uyuCurrencyTranslations, ); @@ -3810,19 +2936,12 @@ class FiatUzs extends FiatCurrency { : super( code: "UZS", name: "Uzbekistani Som", - decimalMark: ".", - thousandsSeparator: ",", symbol: "so'm", alternateSymbols: const ["so‘m", "сўм", "сум", "s", "с"], - disambiguateSymbol: null, - htmlEntity: null, codeNumeric: "860", namesNative: const ["Oʻzbekiston soʻmi"], - priority: 100, smallestDenomination: 100, subunit: "Tiyin", - subunitToUnit: 100, - unitFirst: false, translations: uzsCurrencyTranslations, ); } @@ -3840,14 +2959,9 @@ class FiatVes extends FiatCurrency { thousandsSeparator: ".", symbol: "Bs", alternateSymbols: const ["Bs.S"], - disambiguateSymbol: null, - htmlEntity: null, codeNumeric: "928", namesNative: const ["Bolívar Soberano"], - priority: 100, - smallestDenomination: 1, subunit: "Céntimo", - subunitToUnit: 100, unitFirst: true, translations: vesCurrencyTranslations, ); @@ -3865,16 +2979,12 @@ class FiatVnd extends FiatCurrency { decimalMark: ",", thousandsSeparator: ".", symbol: "₫", - alternateSymbols: null, - disambiguateSymbol: null, htmlEntity: "₫", codeNumeric: "704", namesNative: const ["đồng Việt Nam"], - priority: 100, smallestDenomination: 100, subunit: "Hào", subunitToUnit: 1, - unitFirst: false, translations: vndCurrencyTranslations, ); } @@ -3888,17 +2998,9 @@ class FiatVuv extends FiatCurrency { : super( code: "VUV", name: "Vanuatu Vatu", - decimalMark: ".", - thousandsSeparator: ",", symbol: "Vt", - alternateSymbols: null, - disambiguateSymbol: null, - htmlEntity: null, codeNumeric: "548", namesNative: const ["Vanuatu vatu"], - priority: 100, - smallestDenomination: 1, - subunit: null, subunitToUnit: 1, unitFirst: true, translations: vuvCurrencyTranslations, @@ -3914,19 +3016,13 @@ class FiatWst extends FiatCurrency { : super( code: "WST", name: "Samoan Tala", - decimalMark: ".", - thousandsSeparator: ",", symbol: "T", alternateSymbols: const [r"WS$", "SAT", "ST"], disambiguateSymbol: r"WS$", - htmlEntity: null, codeNumeric: "882", namesNative: const ["Samoa tālā"], - priority: 100, smallestDenomination: 10, subunit: "Sene", - subunitToUnit: 100, - unitFirst: false, translations: wstCurrencyTranslations, ); } @@ -3940,19 +3036,14 @@ class FiatXaf extends FiatCurrency { : super( code: "XAF", name: "Central African Cfa Franc", - decimalMark: ".", - thousandsSeparator: ",", symbol: "CFA", alternateSymbols: const ["FCFA"], disambiguateSymbol: "FCFA", - htmlEntity: null, codeNumeric: "950", namesNative: const ["franc CFA"], - priority: 100, smallestDenomination: 100, subunit: "Centime", subunitToUnit: 1, - unitFirst: false, translations: xafCurrencyTranslations, ); } @@ -3966,19 +3057,13 @@ class FiatXag extends FiatCurrency { : super( code: "XAG", name: "Silver (Troy Ounce)", - decimalMark: ".", - thousandsSeparator: ",", symbol: "oz t", - alternateSymbols: null, disambiguateSymbol: "XAG", - htmlEntity: null, codeNumeric: "961", namesNative: const ["Silver"], - priority: 100, smallestDenomination: 0, subunit: "oz", subunitToUnit: 1, - unitFirst: false, translations: xagCurrencyTranslations, ); } @@ -3992,19 +3077,13 @@ class FiatXau extends FiatCurrency { : super( code: "XAU", name: "Gold (Troy Ounce)", - decimalMark: ".", - thousandsSeparator: ",", symbol: "oz t", - alternateSymbols: null, disambiguateSymbol: "XAU", - htmlEntity: null, codeNumeric: "959", namesNative: const ["Gold"], - priority: 100, smallestDenomination: 0, subunit: "oz", subunitToUnit: 1, - unitFirst: false, translations: xauCurrencyTranslations, ); } @@ -4018,19 +3097,11 @@ class FiatXba extends FiatCurrency { : super( code: "XBA", name: "European Composite Unit", - decimalMark: ".", - thousandsSeparator: ",", - symbol: null, - alternateSymbols: null, disambiguateSymbol: "XBA", - htmlEntity: null, codeNumeric: "955", namesNative: const ["European Composite Unit (EURCO)"], - priority: 100, smallestDenomination: 0, - subunit: null, subunitToUnit: 1, - unitFirst: false, translations: xbaCurrencyTranslations, ); } @@ -4044,19 +3115,11 @@ class FiatXbb extends FiatCurrency { : super( code: "XBB", name: "European Monetary Unit", - decimalMark: ".", - thousandsSeparator: ",", - symbol: null, - alternateSymbols: null, disambiguateSymbol: "XBB", - htmlEntity: null, codeNumeric: "956", namesNative: const ["European Monetary Unit (E.M.U.-6)"], - priority: 100, smallestDenomination: 0, - subunit: null, subunitToUnit: 1, - unitFirst: false, translations: xbbCurrencyTranslations, ); } @@ -4070,19 +3133,11 @@ class FiatXbc extends FiatCurrency { : super( code: "XBC", name: "European Unit of Account 9", - decimalMark: ".", - thousandsSeparator: ",", - symbol: null, - alternateSymbols: null, disambiguateSymbol: "XBC", - htmlEntity: null, codeNumeric: "957", namesNative: const ["European Unit of Account 9 (E.U.A.-9)"], - priority: 100, smallestDenomination: 0, - subunit: null, subunitToUnit: 1, - unitFirst: false, translations: xbcCurrencyTranslations, ); } @@ -4096,19 +3151,11 @@ class FiatXbd extends FiatCurrency { : super( code: "XBD", name: "European Unit of Account 17", - decimalMark: ".", - thousandsSeparator: ",", - symbol: null, - alternateSymbols: null, disambiguateSymbol: "XBD", - htmlEntity: null, codeNumeric: "958", namesNative: const ["European Unit of Account 17 (E.U.A.-17)"], - priority: 100, smallestDenomination: 0, - subunit: null, subunitToUnit: 1, - unitFirst: false, translations: xbdCurrencyTranslations, ); } @@ -4122,18 +3169,13 @@ class FiatXcd extends FiatCurrency { : super( code: "XCD", name: "East Caribbean Dollar", - decimalMark: ".", - thousandsSeparator: ",", symbol: r"$", alternateSymbols: const [r"EC$"], disambiguateSymbol: r"EX$", htmlEntity: r"$", codeNumeric: "951", namesNative: const ["East Caribbean dollar"], - priority: 100, - smallestDenomination: 1, subunit: "Cent", - subunitToUnit: 100, unitFirst: true, translations: xcdCurrencyTranslations, ); @@ -4148,19 +3190,13 @@ class FiatXdr extends FiatCurrency { : super( code: "XDR", name: "Special Drawing Rights", - decimalMark: ".", - thousandsSeparator: ",", symbol: "SDR", alternateSymbols: const ["XDR"], - disambiguateSymbol: null, htmlEntity: r"$", codeNumeric: "960", namesNative: const ["Derechos especiales de giro"], - priority: 100, smallestDenomination: 0, - subunit: null, subunitToUnit: 1, - unitFirst: false, translations: xdrCurrencyTranslations, ); } @@ -4174,19 +3210,14 @@ class FiatXof extends FiatCurrency { : super( code: "XOF", name: "West African Cfa Franc", - decimalMark: ".", - thousandsSeparator: ",", symbol: "Fr", alternateSymbols: const ["CFA"], disambiguateSymbol: "CFA", - htmlEntity: null, codeNumeric: "952", namesNative: const ["CFA Franc BCEAO"], - priority: 100, smallestDenomination: 100, subunit: "Centime", subunitToUnit: 1, - unitFirst: false, translations: xofCurrencyTranslations, ); } @@ -4200,19 +3231,13 @@ class FiatXpd extends FiatCurrency { : super( code: "XPD", name: "Palladium", - decimalMark: ".", - thousandsSeparator: ",", symbol: "oz t", - alternateSymbols: null, disambiguateSymbol: "XPD", - htmlEntity: null, codeNumeric: "964", namesNative: const ["Palladium"], - priority: 100, smallestDenomination: 0, subunit: "oz", subunitToUnit: 1, - unitFirst: false, translations: xpdCurrencyTranslations, ); } @@ -4226,19 +3251,13 @@ class FiatXpf extends FiatCurrency { : super( code: "XPF", name: "Cfp Franc", - decimalMark: ".", - thousandsSeparator: ",", symbol: "Fr", alternateSymbols: const ["F"], - disambiguateSymbol: null, - htmlEntity: null, codeNumeric: "953", namesNative: const ["franc pacifique"], - priority: 100, smallestDenomination: 100, subunit: "Centime", subunitToUnit: 1, - unitFirst: false, translations: xpfCurrencyTranslations, ); } @@ -4252,19 +3271,11 @@ class FiatXpt extends FiatCurrency { : super( code: "XPT", name: "Platinum", - decimalMark: ".", - thousandsSeparator: ",", symbol: "oz t", - alternateSymbols: null, - disambiguateSymbol: null, - htmlEntity: null, codeNumeric: "962", namesNative: const ["Platinum"], - priority: 100, smallestDenomination: 0, - subunit: null, subunitToUnit: 1, - unitFirst: false, translations: xptCurrencyTranslations, ); } @@ -4280,19 +3291,10 @@ class FiatXts extends FiatCurrency { : super( code: "XTS", name: "Codes specifically reserved for testing purposes", - decimalMark: ".", - thousandsSeparator: ",", - symbol: null, - alternateSymbols: null, - disambiguateSymbol: null, - htmlEntity: null, codeNumeric: "963", namesNative: const ["Test currency"], - priority: 100, smallestDenomination: 0, - subunit: null, subunitToUnit: 1, - unitFirst: false, translations: xtsCurrencyTranslations, ); } @@ -4306,19 +3308,12 @@ class FiatYer extends FiatCurrency { : super( code: "YER", name: "Yemeni Rial", - decimalMark: ".", - thousandsSeparator: ",", symbol: "﷼", - alternateSymbols: null, - disambiguateSymbol: null, htmlEntity: "﷼", codeNumeric: "886", namesNative: const ["ريال يمني"], - priority: 100, smallestDenomination: 100, subunit: "Fils", - subunitToUnit: 100, - unitFirst: false, translations: yerCurrencyTranslations, ); } @@ -4335,15 +3330,11 @@ class FiatZar extends FiatCurrency { decimalMark: ",", thousandsSeparator: " ", symbol: "R", - alternateSymbols: null, - disambiguateSymbol: null, htmlEntity: "R", codeNumeric: "710", namesNative: const ["Rand"], - priority: 100, smallestDenomination: 10, subunit: "Cent", - subunitToUnit: 100, unitFirst: true, translations: zarCurrencyTranslations, ); @@ -4358,18 +3349,12 @@ class FiatZmw extends FiatCurrency { : super( code: "ZMW", name: "Zambian Kwacha", - decimalMark: ".", - thousandsSeparator: ",", symbol: "K", - alternateSymbols: null, disambiguateSymbol: "ZMW", - htmlEntity: null, codeNumeric: "967", namesNative: const ["Zambian kwacha"], - priority: 100, smallestDenomination: 5, subunit: "Ngwee", - subunitToUnit: 100, unitFirst: true, translations: zmwCurrencyTranslations, ); @@ -4387,15 +3372,9 @@ class FiatZwl extends FiatCurrency { decimalMark: ",", thousandsSeparator: " ", symbol: r"Z$", - alternateSymbols: null, - disambiguateSymbol: null, - htmlEntity: null, codeNumeric: "932", namesNative: const ["Zimbabwe Dollar"], - priority: 100, - smallestDenomination: 1, subunit: "Cent", - subunitToUnit: 100, unitFirst: true, translations: zwlCurrencyTranslations, ); diff --git a/packages/sealed_currencies/lib/src/helpers/fiat_currency/fiat_currency_copy_with.dart b/packages/sealed_currencies/lib/src/helpers/fiat_currency/fiat_currency_copy_with.dart index 7d30e27e..1e5f26ae 100644 --- a/packages/sealed_currencies/lib/src/helpers/fiat_currency/fiat_currency_copy_with.dart +++ b/packages/sealed_currencies/lib/src/helpers/fiat_currency/fiat_currency_copy_with.dart @@ -19,22 +19,22 @@ extension FiatCurrencyCopyWith on FiatCurrency { /// final shortTaka = taka.copyWith(name: 'Taka'); /// ``` FiatCurrency copyWith({ + List? alternateSymbols, String? code, - String? name, + String? codeNumeric, String? decimalMark, - String? thousandsSeparator, - String? symbol, - List? alternateSymbols, String? disambiguateSymbol, String? htmlEntity, - String? codeNumeric, + String? name, List? namesNative, int? priority, int? smallestDenomination, String? subunit, int? subunitToUnit, - bool? unitFirst, + String? symbol, + String? thousandsSeparator, List? translations, + bool? unitFirst, }) => FiatCurrency( code: code ?? this.code, diff --git a/packages/sealed_currencies/lib/src/helpers/fiat_currency/fiat_currency_format.dart b/packages/sealed_currencies/lib/src/helpers/fiat_currency/fiat_currency_format.dart index 7f3c8c30..5782d2c9 100644 --- a/packages/sealed_currencies/lib/src/helpers/fiat_currency/fiat_currency_format.dart +++ b/packages/sealed_currencies/lib/src/helpers/fiat_currency/fiat_currency_format.dart @@ -6,7 +6,7 @@ extension FiatCurrencyFormat on FiatCurrency { /// If value is not `null` - formats the value as a string with /// the currency symbol. Otherwise returns `null`. String? tryFormat([num? maybeValue]) => - maybeValue != null ? format(maybeValue) : null; + maybeValue == null ? null : format(maybeValue); /// Adds the currency unit to a value. /// diff --git a/packages/sealed_currencies/lib/src/helpers/fiat_currency/fiat_currency_json.dart b/packages/sealed_currencies/lib/src/helpers/fiat_currency/fiat_currency_json.dart index c5899549..ba875b62 100644 --- a/packages/sealed_currencies/lib/src/helpers/fiat_currency/fiat_currency_json.dart +++ b/packages/sealed_currencies/lib/src/helpers/fiat_currency/fiat_currency_json.dart @@ -1,3 +1,5 @@ +// ignore_for_file: avoid-type-casts + import "package:sealed_languages/sealed_languages.dart"; import "../../model/currency/currency.dart"; @@ -7,47 +9,47 @@ import "../../model/currency/currency.dart"; extension FiatCurrencyJson on FiatCurrency { /// {@macro from_map_method} static FiatCurrency fromMap(JsonMap map) => FiatCurrency( - code: map["code"] as String, - name: map["name"] as String, - namesNative: List.unmodifiable(map["namesNative"] as List), - codeNumeric: map["codeNumeric"] as String, - translations: List.unmodifiable( - (map["translations"] as List) - .map((l10n) => TranslatedNameExtension.fromMap(l10n as JsonMap)), - ), alternateSymbols: map["alternateSymbols"] is List ? List.unmodifiable(map["alternateSymbols"] as List) : null, - disambiguateSymbol: map["disambiguateSymbol"] as String?, - htmlEntity: map["htmlEntity"] as String?, + code: map["code"].toString(), + codeNumeric: map["codeNumeric"].toString(), + decimalMark: map["decimalMark"].toString(), + disambiguateSymbol: map["disambiguateSymbol"]?.toString(), + htmlEntity: map["htmlEntity"]?.toString(), + name: map["name"].toString(), + namesNative: List.unmodifiable(map["namesNative"] as List), priority: map["priority"] as int, smallestDenomination: map["smallestDenomination"] as int, - subunit: map["subunit"] as String?, + subunit: map["subunit"]?.toString(), subunitToUnit: map["subunitToUnit"] as int, + symbol: map["symbol"]?.toString(), + thousandsSeparator: map["thousandsSeparator"].toString(), + translations: List.unmodifiable( + (map["translations"] as List) + .map((l10n) => TranslatedNameExtension.fromMap(l10n as JsonMap)), + ), unitFirst: map["unitFirst"] as bool, - symbol: map["symbol"] as String?, - decimalMark: map["decimalMark"] as String, - thousandsSeparator: map["thousandsSeparator"] as String, ); /// {@macro to_map_method} JsonObjectMap toMap() => { + "alternateSymbols": alternateSymbols, "code": code, - "name": name, + "codeNumeric": codeNumeric, "decimalMark": decimalMark, - "thousandsSeparator": thousandsSeparator, - "symbol": symbol, - "alternateSymbols": alternateSymbols, "disambiguateSymbol": disambiguateSymbol, "htmlEntity": htmlEntity, - "codeNumeric": codeNumeric, + "name": name, "namesNative": namesNative, "priority": priority, "smallestDenomination": smallestDenomination, "subunit": subunit, "subunitToUnit": subunitToUnit, - "unitFirst": unitFirst, + "symbol": symbol, + "thousandsSeparator": thousandsSeparator, "translations": translations.map((l10n) => l10n.toMap()).toList(growable: false), + "unitFirst": unitFirst, }; } diff --git a/packages/sealed_currencies/lib/src/model/currency/currency.dart b/packages/sealed_currencies/lib/src/model/currency/currency.dart index 62c731e3..aee9767a 100644 --- a/packages/sealed_currencies/lib/src/model/currency/currency.dart +++ b/packages/sealed_currencies/lib/src/model/currency/currency.dart @@ -74,5 +74,5 @@ sealed class Currency implements Named { @override String toString({bool short = true}) => short ? 'Currency(code: "$code")' - : '''Currency(code: "$code", name: "$name", symbol: ${symbol == null ? symbol : '"$symbol"'}, decimalMark: "$decimalMark", thousandsSeparator: "$thousandsSeparator")'''; + : '''Currency(code: "$code", name: "$name", ${symbol == null ? '' : 'symbol: r"$symbol", '}decimalMark: "$decimalMark", thousandsSeparator: "$thousandsSeparator")'''; } diff --git a/packages/sealed_currencies/lib/src/model/currency/submodels/crypto_currency.dart b/packages/sealed_currencies/lib/src/model/currency/submodels/crypto_currency.dart index 5d246dbc..e03e36ab 100644 --- a/packages/sealed_currencies/lib/src/model/currency/submodels/crypto_currency.dart +++ b/packages/sealed_currencies/lib/src/model/currency/submodels/crypto_currency.dart @@ -20,13 +20,13 @@ class CryptoCurrency extends Currency { const CryptoCurrency({ required super.code, required super.name, + this.dateAdded, super.decimalMark = ".", - super.thousandsSeparator = ",", - super.symbol, - this.isMinable = false, this.isFork = false, + this.isMinable = false, this.proofType, - this.dateAdded, + super.symbol, + super.thousandsSeparator = ",", }) : assert( proofType == null || proofType.length > 0, "`proofType` should not be empty!", @@ -52,5 +52,11 @@ class CryptoCurrency extends Currency { @override String toString({bool short = true}) => short ? super.toString() - : '''CryptoCurrency(code: "$code", name: "$name", decimalMark: "$decimalMark", thousandsSeparator: "$thousandsSeparator", symbol: ${symbol == null ? symbol : '"$symbol"'}, isMinable: $isMinable, isFork: $isFork, proofType: ${proofType == null ? proofType : '"$proofType"'}, dateAdded: $dateAdded)'''; + : 'CryptoCurrency(code: "$code", name: "$name", ' + 'decimalMark: "$decimalMark", ' + 'thousandsSeparator: "$thousandsSeparator", ' + '${symbol == null ? '' : 'symbol: r"$symbol", '}' + "isMinable: $isMinable, isFork: $isFork, " + '${proofType == null ? '' : 'proofType: "$proofType", '}' + '${dateAdded == null ? '' : 'dateAdded: "$dateAdded"'})'; } diff --git a/packages/sealed_currencies/lib/src/model/currency/submodels/fiat_currency.dart b/packages/sealed_currencies/lib/src/model/currency/submodels/fiat_currency.dart index 09d4579f..80cdfaa0 100644 --- a/packages/sealed_currencies/lib/src/model/currency/submodels/fiat_currency.dart +++ b/packages/sealed_currencies/lib/src/model/currency/submodels/fiat_currency.dart @@ -1,3 +1,5 @@ +// ignore_for_file: avoid-referencing-subclasses, those are static constants. + part of "../currency.dart"; /// A class representing fiat currency. @@ -248,7 +250,19 @@ class FiatCurrency extends Currency @override String toString({bool short = true}) => short ? super.toString() - : '''FiatCurrency(code: "$code", name: "$name", decimalMark: "$decimalMark", thousandsSeparator: "$thousandsSeparator", symbol: ${symbol == null ? symbol : 'r"$symbol"'}, alternateSymbols: ${alternateSymbols == null ? alternateSymbols : jsonEncode(alternateSymbols)}, disambiguateSymbol: ${disambiguateSymbol == null ? disambiguateSymbol : 'r"$disambiguateSymbol"'}, htmlEntity: ${htmlEntity == null ? htmlEntity : 'r"$htmlEntity"'}, codeNumeric: "$codeNumeric", namesNative: ${jsonEncode(namesNative)}, priority: $priority, smallestDenomination: $smallestDenomination, subunit: ${subunit == null ? subunit : '"$subunit"'}, subunitToUnit: $subunitToUnit, unitFirst: $unitFirst, translations: ${code.toLowerCase()}CurrencyTranslations)'''; + : 'FiatCurrency(code: "$code", name: "$name", ' + 'decimalMark: "$decimalMark", ' + 'thousandsSeparator: "$thousandsSeparator", ' + '${symbol == null ? '' : 'symbol: r"$symbol", '}' + '''${alternateSymbols == null ? '' : 'alternateSymbols: ${jsonEncode(alternateSymbols)}, '}''' + '''${disambiguateSymbol == null ? '' : 'disambiguateSymbol: r"$disambiguateSymbol", '}''' + '${htmlEntity == null ? '' : 'htmlEntity: r"$htmlEntity", '}' + 'codeNumeric: "$codeNumeric", ' + "namesNative: ${jsonEncode(namesNative)}, " + "priority: $priority, smallestDenomination: $smallestDenomination, " + '${subunit == null ? '' : 'subunit: "$subunit", '}' + "subunitToUnit: $subunitToUnit, unitFirst: $unitFirst, " + "translations: ${code.toLowerCase()}CurrencyTranslations,)"; @override String toJson({JsonCodec codec = const JsonCodec()}) => codec.encode(toMap()); diff --git a/packages/sealed_currencies/lib/src/translations/all_currency.l10n.dart b/packages/sealed_currencies/lib/src/translations/all_currency.l10n.dart index 55ad54d0..9003e7e4 100644 --- a/packages/sealed_currencies/lib/src/translations/all_currency.l10n.dart +++ b/packages/sealed_currencies/lib/src/translations/all_currency.l10n.dart @@ -115,11 +115,7 @@ const allCurrencyTranslations = [ TranslatedName(LangBen(), name: "আলবেনিয়ান লেক"), TranslatedName(LangBre(), name: "lek Albania"), TranslatedName(LangBos(), name: "Albanski lek"), - TranslatedName( - LangBos(), - name: "Албански лек", - script: ScriptCyrl(), - ), + TranslatedName(LangBos(), name: "Албански лек", script: ScriptCyrl()), TranslatedName(LangCat(), name: "lek albanès"), TranslatedName(LangChe(), name: "Албанин лек"), TranslatedName(LangCes(), name: "albánský lek"), diff --git a/packages/sealed_currencies/lib/src/translations/amd_currency.l10n.dart b/packages/sealed_currencies/lib/src/translations/amd_currency.l10n.dart index df67c0d2..c0dd3803 100644 --- a/packages/sealed_currencies/lib/src/translations/amd_currency.l10n.dart +++ b/packages/sealed_currencies/lib/src/translations/amd_currency.l10n.dart @@ -115,11 +115,7 @@ const amdCurrencyTranslations = [ TranslatedName(LangBen(), name: "আরমেনিয়ান দ্রাম"), TranslatedName(LangBre(), name: "dram Armenia"), TranslatedName(LangBos(), name: "Armenski dram"), - TranslatedName( - LangBos(), - name: "Јерменски драм", - script: ScriptCyrl(), - ), + TranslatedName(LangBos(), name: "Јерменски драм", script: ScriptCyrl()), TranslatedName(LangCat(), name: "dram armeni"), TranslatedName(LangChe(), name: "Эрмалойчоьнан драм"), TranslatedName(LangCes(), name: "arménský dram"), diff --git a/packages/sealed_currencies/lib/src/translations/aoa_currency.l10n.dart b/packages/sealed_currencies/lib/src/translations/aoa_currency.l10n.dart index 692b4288..4ecfb91c 100644 --- a/packages/sealed_currencies/lib/src/translations/aoa_currency.l10n.dart +++ b/packages/sealed_currencies/lib/src/translations/aoa_currency.l10n.dart @@ -128,11 +128,7 @@ const aoaCurrencyTranslations = [ TranslatedName(LangBen(), name: "এ্যাঙ্গোলান কওয়ানজা"), TranslatedName(LangBre(), name: "kwanza Angola"), TranslatedName(LangBos(), name: "Angolska kvanza"), - TranslatedName( - LangBos(), - name: "анголска кванза", - script: ScriptCyrl(), - ), + TranslatedName(LangBos(), name: "анголска кванза", script: ScriptCyrl()), TranslatedName(LangCat(), name: "kwanza angolès"), TranslatedName(LangChe(), name: "Анголан кванза"), TranslatedName(LangCes(), name: "angolská kwanza"), diff --git a/packages/sealed_currencies/lib/src/translations/ars_currency.l10n.dart b/packages/sealed_currencies/lib/src/translations/ars_currency.l10n.dart index 74b9705e..6ff83506 100644 --- a/packages/sealed_currencies/lib/src/translations/ars_currency.l10n.dart +++ b/packages/sealed_currencies/lib/src/translations/ars_currency.l10n.dart @@ -115,11 +115,7 @@ const arsCurrencyTranslations = [ TranslatedName(LangBen(), name: "আর্জেন্টিনা পেসো"), TranslatedName(LangBre(), name: "peso Arcʼhantina"), TranslatedName(LangBos(), name: "Argentinski pezos"), - TranslatedName( - LangBos(), - name: "аргентински пезо", - script: ScriptCyrl(), - ), + TranslatedName(LangBos(), name: "аргентински пезо", script: ScriptCyrl()), TranslatedName(LangCat(), name: "peso argentí"), TranslatedName(LangChe(), name: "Аргентинан песо"), TranslatedName(LangCes(), name: "argentinské peso"), @@ -195,11 +191,7 @@ const arsCurrencyTranslations = [ TranslatedName(LangUkr(), name: "аргентинський песо"), TranslatedName(LangUrd(), name: "ارجنٹائن پیسہ"), TranslatedName(LangUzb(), name: "Argentina pesosi"), - TranslatedName( - LangUzb(), - name: "Аргентина песоси", - script: ScriptCyrl(), - ), + TranslatedName(LangUzb(), name: "Аргентина песоси", script: ScriptCyrl()), TranslatedName(LangVie(), name: "Peso Argentina"), TranslatedName(LangZho(), name: "阿根廷比索"), TranslatedName(LangZho(), name: "阿根廷披索", script: ScriptHant()), diff --git a/packages/sealed_currencies/lib/src/translations/aud_currency.l10n.dart b/packages/sealed_currencies/lib/src/translations/aud_currency.l10n.dart index db74ecfb..ddcc1a48 100644 --- a/packages/sealed_currencies/lib/src/translations/aud_currency.l10n.dart +++ b/packages/sealed_currencies/lib/src/translations/aud_currency.l10n.dart @@ -214,11 +214,7 @@ const audCurrencyTranslations = [ TranslatedName(LangUkr(), name: "австралійський долар"), TranslatedName(LangUrd(), name: "آسٹریلین ڈالر"), TranslatedName(LangUzb(), name: "Avstraliya dollari"), - TranslatedName( - LangUzb(), - name: "AUD", - script: ScriptCyrl(), - ), + TranslatedName(LangUzb(), name: "AUD", script: ScriptCyrl()), TranslatedName(LangVie(), name: "Đô la Australia"), TranslatedName(LangYor(), name: "Dọla ti Orílẹ́ède Ástràlìá"), TranslatedName( diff --git a/packages/sealed_currencies/lib/src/translations/awg_currency.l10n.dart b/packages/sealed_currencies/lib/src/translations/awg_currency.l10n.dart index a16b92a1..3197d00f 100644 --- a/packages/sealed_currencies/lib/src/translations/awg_currency.l10n.dart +++ b/packages/sealed_currencies/lib/src/translations/awg_currency.l10n.dart @@ -115,11 +115,7 @@ const awgCurrencyTranslations = [ TranslatedName(LangBen(), name: "আরুবা গিল্ডার"), TranslatedName(LangBre(), name: "florin Aruba"), TranslatedName(LangBos(), name: "Arubanski florin"), - TranslatedName( - LangBos(), - name: "Арубански флорин", - script: ScriptCyrl(), - ), + TranslatedName(LangBos(), name: "Арубански флорин", script: ScriptCyrl()), TranslatedName(LangCat(), name: "florí d’Aruba"), TranslatedName(LangChe(), name: "Арубан флорин"), TranslatedName(LangCes(), name: "arubský zlatý"), @@ -196,11 +192,7 @@ const awgCurrencyTranslations = [ TranslatedName(LangUkr(), name: "арубський флорин"), TranslatedName(LangUrd(), name: "اروبن فلورِن"), TranslatedName(LangUzb(), name: "Aruba florini"), - TranslatedName( - LangUzb(), - name: "Аруба флорини", - script: ScriptCyrl(), - ), + TranslatedName(LangUzb(), name: "Аруба флорини", script: ScriptCyrl()), TranslatedName(LangVie(), name: "Florin Aruba"), TranslatedName(LangZho(), name: "阿鲁巴弗罗林"), TranslatedName(LangZho(), name: "阿魯巴盾", countryCode: "HK"), diff --git a/packages/sealed_currencies/lib/src/translations/azn_currency.l10n.dart b/packages/sealed_currencies/lib/src/translations/azn_currency.l10n.dart index acc618df..f71de3cb 100644 --- a/packages/sealed_currencies/lib/src/translations/azn_currency.l10n.dart +++ b/packages/sealed_currencies/lib/src/translations/azn_currency.l10n.dart @@ -110,11 +110,7 @@ const aznCurrencyTranslations = [ TranslatedName(LangAmh(), name: "የአዛርባጃን ማናት"), TranslatedName(LangAra(), name: "مانات أذربيجان"), TranslatedName(LangAze(), name: "Azərbaycan Manatı"), - TranslatedName( - LangAze(), - name: "AZN", - script: ScriptCyrl(), - ), + TranslatedName(LangAze(), name: "AZN", script: ScriptCyrl()), TranslatedName(LangBel(), name: "азербайджанскі манат"), TranslatedName(LangBul(), name: "Азербайджански манат"), TranslatedName(LangBen(), name: "আজারবাইজান মানাত"), diff --git a/packages/sealed_currencies/lib/src/translations/bbd_currency.l10n.dart b/packages/sealed_currencies/lib/src/translations/bbd_currency.l10n.dart index ea2475ec..13c8f048 100644 --- a/packages/sealed_currencies/lib/src/translations/bbd_currency.l10n.dart +++ b/packages/sealed_currencies/lib/src/translations/bbd_currency.l10n.dart @@ -114,11 +114,7 @@ const bbdCurrencyTranslations = [ TranslatedName(LangBen(), name: "বার্বেডোজ ডলার"), TranslatedName(LangBre(), name: "dollar Barbados"), TranslatedName(LangBos(), name: "Barbadoski dolar"), - TranslatedName( - LangBos(), - name: "Барбадошки долар", - script: ScriptCyrl(), - ), + TranslatedName(LangBos(), name: "Барбадошки долар", script: ScriptCyrl()), TranslatedName(LangCat(), name: "dòlar de Barbados"), TranslatedName(LangChe(), name: "Барбадосан доллар"), TranslatedName(LangCes(), name: "barbadoský dolar"), @@ -195,11 +191,7 @@ const bbdCurrencyTranslations = [ TranslatedName(LangUkr(), name: "барбадоський долар"), TranslatedName(LangUrd(), name: "باربیڈین ڈالر"), TranslatedName(LangUzb(), name: "Barbados dollari"), - TranslatedName( - LangUzb(), - name: "Барбадос доллари", - script: ScriptCyrl(), - ), + TranslatedName(LangUzb(), name: "Барбадос доллари", script: ScriptCyrl()), TranslatedName(LangVie(), name: "Đô la Barbados"), TranslatedName(LangZho(), name: "巴巴多斯元"), TranslatedName(LangZho(), name: "巴貝多元", script: ScriptHant()), diff --git a/packages/sealed_currencies/lib/src/translations/bdt_currency.l10n.dart b/packages/sealed_currencies/lib/src/translations/bdt_currency.l10n.dart index b8348863..ed69d5b0 100644 --- a/packages/sealed_currencies/lib/src/translations/bdt_currency.l10n.dart +++ b/packages/sealed_currencies/lib/src/translations/bdt_currency.l10n.dart @@ -116,11 +116,7 @@ const bdtCurrencyTranslations = [ TranslatedName(LangBen(), name: "বাংলাদেশী টাকা"), TranslatedName(LangBre(), name: "taka Bangladesh"), TranslatedName(LangBos(), name: "Bangladeška taka"), - TranslatedName( - LangBos(), - name: "Бангладешка така", - script: ScriptCyrl(), - ), + TranslatedName(LangBos(), name: "Бангладешка така", script: ScriptCyrl()), TranslatedName(LangCat(), name: "taka de Bangla Desh"), TranslatedName(LangChe(), name: "Бангладешан така"), TranslatedName(LangCes(), name: "bangladéšská taka"), diff --git a/packages/sealed_currencies/lib/src/translations/bgn_currency.l10n.dart b/packages/sealed_currencies/lib/src/translations/bgn_currency.l10n.dart index cdedf652..fcaf4af0 100644 --- a/packages/sealed_currencies/lib/src/translations/bgn_currency.l10n.dart +++ b/packages/sealed_currencies/lib/src/translations/bgn_currency.l10n.dart @@ -115,11 +115,7 @@ const bgnCurrencyTranslations = [ TranslatedName(LangBen(), name: "বুলগেরীয় নিউ লেভ"), TranslatedName(LangBre(), name: "lev Bulgaria"), TranslatedName(LangBos(), name: "Bugarski lev"), - TranslatedName( - LangBos(), - name: "Бугарски лев", - script: ScriptCyrl(), - ), + TranslatedName(LangBos(), name: "Бугарски лев", script: ScriptCyrl()), TranslatedName(LangCat(), name: "lev búlgar"), TranslatedName(LangChe(), name: "Болгарин лев"), TranslatedName(LangCes(), name: "bulharský lev"), diff --git a/packages/sealed_currencies/lib/src/translations/bhd_currency.l10n.dart b/packages/sealed_currencies/lib/src/translations/bhd_currency.l10n.dart index ef4a6141..c6152c1f 100644 --- a/packages/sealed_currencies/lib/src/translations/bhd_currency.l10n.dart +++ b/packages/sealed_currencies/lib/src/translations/bhd_currency.l10n.dart @@ -128,11 +128,7 @@ const bhdCurrencyTranslations = [ TranslatedName(LangBen(), name: "বাহরাইনি দিনার"), TranslatedName(LangBre(), name: "dinar Bahrein"), TranslatedName(LangBos(), name: "Bahreinski dinar"), - TranslatedName( - LangBos(), - name: "Бахреински динар", - script: ScriptCyrl(), - ), + TranslatedName(LangBos(), name: "Бахреински динар", script: ScriptCyrl()), TranslatedName(LangCat(), name: "dinar de Bahrain"), TranslatedName(LangChe(), name: "Бахрейнан динар"), TranslatedName(LangCes(), name: "bahrajnský dinár"), diff --git a/packages/sealed_currencies/lib/src/translations/bif_currency.l10n.dart b/packages/sealed_currencies/lib/src/translations/bif_currency.l10n.dart index e5157994..244220a3 100644 --- a/packages/sealed_currencies/lib/src/translations/bif_currency.l10n.dart +++ b/packages/sealed_currencies/lib/src/translations/bif_currency.l10n.dart @@ -128,11 +128,7 @@ const bifCurrencyTranslations = [ TranslatedName(LangBen(), name: "বুরুন্ডি ফ্রাঙ্ক"), TranslatedName(LangBre(), name: "lur Burundi"), TranslatedName(LangBos(), name: "Burundski franak"), - TranslatedName( - LangBos(), - name: "Бурундски франак", - script: ScriptCyrl(), - ), + TranslatedName(LangBos(), name: "Бурундски франак", script: ScriptCyrl()), TranslatedName(LangCat(), name: "franc de Burundi"), TranslatedName(LangChe(), name: "Бурундин франк"), TranslatedName(LangCes(), name: "burundský frank"), diff --git a/packages/sealed_currencies/lib/src/translations/bmd_currency.l10n.dart b/packages/sealed_currencies/lib/src/translations/bmd_currency.l10n.dart index 59ad2b49..0f3100a0 100644 --- a/packages/sealed_currencies/lib/src/translations/bmd_currency.l10n.dart +++ b/packages/sealed_currencies/lib/src/translations/bmd_currency.l10n.dart @@ -116,11 +116,7 @@ const bmdCurrencyTranslations = [ TranslatedName(LangBen(), name: "বারমিউডান ডলার"), TranslatedName(LangBre(), name: "dollar Bermuda"), TranslatedName(LangBos(), name: "Bermudski dolar"), - TranslatedName( - LangBos(), - name: "Бермудски долар", - script: ScriptCyrl(), - ), + TranslatedName(LangBos(), name: "Бермудски долар", script: ScriptCyrl()), TranslatedName(LangCat(), name: "dòlar de les Bermudes"), TranslatedName(LangChe(), name: "Бермудан доллар"), TranslatedName(LangCes(), name: "bermudský dolar"), @@ -198,11 +194,7 @@ const bmdCurrencyTranslations = [ TranslatedName(LangUkr(), name: "бермудський долар"), TranslatedName(LangUrd(), name: "برموڈا ڈالر"), TranslatedName(LangUzb(), name: "Bermuda dollari"), - TranslatedName( - LangUzb(), - name: "Бермуда доллари", - script: ScriptCyrl(), - ), + TranslatedName(LangUzb(), name: "Бермуда доллари", script: ScriptCyrl()), TranslatedName(LangVie(), name: "Đô la Bermuda"), TranslatedName(LangZho(), name: "百慕大元"), TranslatedName(LangZho(), name: "百慕達幣", script: ScriptHant()), diff --git a/packages/sealed_currencies/lib/src/translations/bnd_currency.l10n.dart b/packages/sealed_currencies/lib/src/translations/bnd_currency.l10n.dart index fb958500..6473d85b 100644 --- a/packages/sealed_currencies/lib/src/translations/bnd_currency.l10n.dart +++ b/packages/sealed_currencies/lib/src/translations/bnd_currency.l10n.dart @@ -115,11 +115,7 @@ const bndCurrencyTranslations = [ TranslatedName(LangBen(), name: "ব্রুনেই ডলার"), TranslatedName(LangBre(), name: "dollar Brunei"), TranslatedName(LangBos(), name: "Brunejski dolar"), - TranslatedName( - LangBos(), - name: "Брунејски долар", - script: ScriptCyrl(), - ), + TranslatedName(LangBos(), name: "Брунејски долар", script: ScriptCyrl()), TranslatedName(LangCat(), name: "dòlar de Brunei"), TranslatedName(LangChe(), name: "Брунейн доллар"), TranslatedName(LangCes(), name: "brunejský dolar"), diff --git a/packages/sealed_currencies/lib/src/translations/bob_currency.l10n.dart b/packages/sealed_currencies/lib/src/translations/bob_currency.l10n.dart index 29a5be71..e009f023 100644 --- a/packages/sealed_currencies/lib/src/translations/bob_currency.l10n.dart +++ b/packages/sealed_currencies/lib/src/translations/bob_currency.l10n.dart @@ -202,11 +202,7 @@ const bobCurrencyTranslations = [ TranslatedName(LangUkr(), name: "болівійський болівіано"), TranslatedName(LangUrd(), name: "بولیوین بولیویانو"), TranslatedName(LangUzb(), name: "Boliviya bolivianosi"), - TranslatedName( - LangUzb(), - name: "Боливия болвиани", - script: ScriptCyrl(), - ), + TranslatedName(LangUzb(), name: "Боливия болвиани", script: ScriptCyrl()), TranslatedName(LangVie(), name: "Boliviano Bolivia"), TranslatedName(LangZho(), name: "玻利维亚诺"), TranslatedName(LangZho(), name: "玻利維亞諾", script: ScriptHant()), diff --git a/packages/sealed_currencies/lib/src/translations/brl_currency.l10n.dart b/packages/sealed_currencies/lib/src/translations/brl_currency.l10n.dart index 2a8646bc..71d2e250 100644 --- a/packages/sealed_currencies/lib/src/translations/brl_currency.l10n.dart +++ b/packages/sealed_currencies/lib/src/translations/brl_currency.l10n.dart @@ -107,11 +107,7 @@ const brlCurrencyTranslations = [ TranslatedName(LangBen(), name: "ব্রাজিলিয়ান রিয়েল"), TranslatedName(LangBre(), name: "real Brazil"), TranslatedName(LangBos(), name: "Brazilski real"), - TranslatedName( - LangBos(), - name: "Бразилски Реал", - script: ScriptCyrl(), - ), + TranslatedName(LangBos(), name: "Бразилски Реал", script: ScriptCyrl()), TranslatedName(LangCat(), name: "real brasiler"), TranslatedName(LangChe(), name: "Бразилин реал"), TranslatedName(LangCes(), name: "brazilský real"), @@ -191,11 +187,7 @@ const brlCurrencyTranslations = [ TranslatedName(LangUkr(), name: "бразильський реал"), TranslatedName(LangUrd(), name: "برازیلی ریئل"), TranslatedName(LangUzb(), name: "Braziliya reali"), - TranslatedName( - LangUzb(), - name: "Бразил реали", - script: ScriptCyrl(), - ), + TranslatedName(LangUzb(), name: "Бразил реали", script: ScriptCyrl()), TranslatedName(LangVie(), name: "Real Braxin"), TranslatedName(LangYid(), name: "בראזיל רעאל"), TranslatedName(LangZho(), name: "巴西雷亚尔"), diff --git a/packages/sealed_currencies/lib/src/translations/bsd_currency.l10n.dart b/packages/sealed_currencies/lib/src/translations/bsd_currency.l10n.dart index 250f42f1..fa61081f 100644 --- a/packages/sealed_currencies/lib/src/translations/bsd_currency.l10n.dart +++ b/packages/sealed_currencies/lib/src/translations/bsd_currency.l10n.dart @@ -115,11 +115,7 @@ const bsdCurrencyTranslations = [ TranslatedName(LangBen(), name: "বাহামিয়ান ডলার"), TranslatedName(LangBre(), name: "dollar Bahamas"), TranslatedName(LangBos(), name: "Bahamski dolar"), - TranslatedName( - LangBos(), - name: "Бахамски долар", - script: ScriptCyrl(), - ), + TranslatedName(LangBos(), name: "Бахамски долар", script: ScriptCyrl()), TranslatedName(LangCat(), name: "dòlar de les Bahames"), TranslatedName(LangChe(), name: "Багаман доллар"), TranslatedName(LangCes(), name: "bahamský dolar"), @@ -196,11 +192,7 @@ const bsdCurrencyTranslations = [ TranslatedName(LangUkr(), name: "багамський долар"), TranslatedName(LangUrd(), name: "بہامانی ڈالر"), TranslatedName(LangUzb(), name: "Bagama dollari"), - TranslatedName( - LangUzb(), - name: "Багама доллари", - script: ScriptCyrl(), - ), + TranslatedName(LangUzb(), name: "Багама доллари", script: ScriptCyrl()), TranslatedName(LangVie(), name: "Đô la Bahamas"), TranslatedName(LangZho(), name: "巴哈马元"), TranslatedName(LangZho(), name: "巴哈馬元", script: ScriptHant()), diff --git a/packages/sealed_currencies/lib/src/translations/btn_currency.l10n.dart b/packages/sealed_currencies/lib/src/translations/btn_currency.l10n.dart index 3afe199e..69f6a316 100644 --- a/packages/sealed_currencies/lib/src/translations/btn_currency.l10n.dart +++ b/packages/sealed_currencies/lib/src/translations/btn_currency.l10n.dart @@ -116,11 +116,7 @@ const btnCurrencyTranslations = [ TranslatedName(LangBen(), name: "ভুটানি এনগুল্ট্রুম"), TranslatedName(LangBre(), name: "ngultrum Bhoutan"), TranslatedName(LangBos(), name: "Butanski ngultrum"), - TranslatedName( - LangBos(), - name: "Бутански нгултрум", - script: ScriptCyrl(), - ), + TranslatedName(LangBos(), name: "Бутански нгултрум", script: ScriptCyrl()), TranslatedName(LangCat(), name: "ngultrum de Bhutan"), TranslatedName(LangChe(), name: "Бутанан нгултрум"), TranslatedName(LangCes(), name: "bhútánský ngultrum"), diff --git a/packages/sealed_currencies/lib/src/translations/bwp_currency.l10n.dart b/packages/sealed_currencies/lib/src/translations/bwp_currency.l10n.dart index f469580b..6e47d39b 100644 --- a/packages/sealed_currencies/lib/src/translations/bwp_currency.l10n.dart +++ b/packages/sealed_currencies/lib/src/translations/bwp_currency.l10n.dart @@ -128,11 +128,7 @@ const bwpCurrencyTranslations = [ TranslatedName(LangBen(), name: "বতসোয়ানা পুলা"), TranslatedName(LangBre(), name: "pula Botswana"), TranslatedName(LangBos(), name: "Bocvanska pula"), - TranslatedName( - LangBos(), - name: "Боцванска пула", - script: ScriptCyrl(), - ), + TranslatedName(LangBos(), name: "Боцванска пула", script: ScriptCyrl()), TranslatedName(LangCat(), name: "pula de Botswana"), TranslatedName(LangChe(), name: "Ботсванан пула"), TranslatedName(LangCes(), name: "botswanská pula"), diff --git a/packages/sealed_currencies/lib/src/translations/byn_currency.l10n.dart b/packages/sealed_currencies/lib/src/translations/byn_currency.l10n.dart index 623f980e..f89b0713 100644 --- a/packages/sealed_currencies/lib/src/translations/byn_currency.l10n.dart +++ b/packages/sealed_currencies/lib/src/translations/byn_currency.l10n.dart @@ -115,11 +115,7 @@ const bynCurrencyTranslations = [ TranslatedName(LangBen(), name: "বেলারুশিয়ান রুবেল"), TranslatedName(LangBre(), name: "roubl Belarus"), TranslatedName(LangBos(), name: "Bjeloruska rublja"), - TranslatedName( - LangBos(), - name: "Белоруска рубља", - script: ScriptCyrl(), - ), + TranslatedName(LangBos(), name: "Белоруска рубља", script: ScriptCyrl()), TranslatedName(LangCat(), name: "ruble bielorús"), TranslatedName(LangChe(), name: "Белоруссин сом"), TranslatedName(LangCes(), name: "běloruský rubl"), diff --git a/packages/sealed_currencies/lib/src/translations/bzd_currency.l10n.dart b/packages/sealed_currencies/lib/src/translations/bzd_currency.l10n.dart index a1a4571e..6a5aebce 100644 --- a/packages/sealed_currencies/lib/src/translations/bzd_currency.l10n.dart +++ b/packages/sealed_currencies/lib/src/translations/bzd_currency.l10n.dart @@ -116,11 +116,7 @@ const bzdCurrencyTranslations = [ TranslatedName(LangBen(), name: "বেলিজ ডলার"), TranslatedName(LangBre(), name: "dollar Belize"), TranslatedName(LangBos(), name: "Belizeanski dolar"), - TranslatedName( - LangBos(), - name: "Белизе долар", - script: ScriptCyrl(), - ), + TranslatedName(LangBos(), name: "Белизе долар", script: ScriptCyrl()), TranslatedName(LangCat(), name: "dòlar de Belize"), TranslatedName(LangChe(), name: "Белизин доллар"), TranslatedName(LangCes(), name: "belizský dolar"), @@ -197,11 +193,7 @@ const bzdCurrencyTranslations = [ TranslatedName(LangUkr(), name: "белізький долар"), TranslatedName(LangUrd(), name: "بیلائز ڈالر"), TranslatedName(LangUzb(), name: "Beliz dollari"), - TranslatedName( - LangUzb(), - name: "Белиз доллари", - script: ScriptCyrl(), - ), + TranslatedName(LangUzb(), name: "Белиз доллари", script: ScriptCyrl()), TranslatedName(LangVie(), name: "Đô la Belize"), TranslatedName(LangYid(), name: "בעליז דאלאַר"), TranslatedName(LangZho(), name: "伯利兹元"), diff --git a/packages/sealed_currencies/lib/src/translations/cad_currency.l10n.dart b/packages/sealed_currencies/lib/src/translations/cad_currency.l10n.dart index 8b50be01..35f18679 100644 --- a/packages/sealed_currencies/lib/src/translations/cad_currency.l10n.dart +++ b/packages/sealed_currencies/lib/src/translations/cad_currency.l10n.dart @@ -119,11 +119,7 @@ const cadCurrencyTranslations = [ TranslatedName(LangBen(), name: "কানাডিয়ান ডলার"), TranslatedName(LangBre(), name: "dollar Kanada"), TranslatedName(LangBos(), name: "Kanadski dolar"), - TranslatedName( - LangBos(), - name: "Канадски долар", - script: ScriptCyrl(), - ), + TranslatedName(LangBos(), name: "Канадски долар", script: ScriptCyrl()), TranslatedName(LangCat(), name: "dòlar canadenc"), TranslatedName(LangChe(), name: "Канадан доллар"), TranslatedName(LangCes(), name: "kanadský dolar"), @@ -213,11 +209,7 @@ const cadCurrencyTranslations = [ TranslatedName(LangUkr(), name: "канадський долар"), TranslatedName(LangUrd(), name: "کنیڈین ڈالر"), TranslatedName(LangUzb(), name: "Kanada dollari"), - TranslatedName( - LangUzb(), - name: "Канада доллари", - script: ScriptCyrl(), - ), + TranslatedName(LangUzb(), name: "Канада доллари", script: ScriptCyrl()), TranslatedName(LangVie(), name: "Đô la Canada"), TranslatedName(LangYor(), name: "Dọla ti Orílẹ́ède Kánádà"), TranslatedName( diff --git a/packages/sealed_currencies/lib/src/translations/cdf_currency.l10n.dart b/packages/sealed_currencies/lib/src/translations/cdf_currency.l10n.dart index bdc0bdfd..2cdeb1a3 100644 --- a/packages/sealed_currencies/lib/src/translations/cdf_currency.l10n.dart +++ b/packages/sealed_currencies/lib/src/translations/cdf_currency.l10n.dart @@ -128,11 +128,7 @@ const cdfCurrencyTranslations = [ TranslatedName(LangBen(), name: "কঙ্গোলিস ফ্র্যাঙ্ক"), TranslatedName(LangBre(), name: "lur Kongo"), TranslatedName(LangBos(), name: "Kongoanski franak"), - TranslatedName( - LangBos(), - name: "Конголски франак", - script: ScriptCyrl(), - ), + TranslatedName(LangBos(), name: "Конголски франак", script: ScriptCyrl()), TranslatedName(LangCat(), name: "franc congolès"), TranslatedName(LangChe(), name: "Конголезин франк"), TranslatedName(LangCes(), name: "konžský frank"), diff --git a/packages/sealed_currencies/lib/src/translations/chf_currency.l10n.dart b/packages/sealed_currencies/lib/src/translations/chf_currency.l10n.dart index 25ec969e..4b5b8604 100644 --- a/packages/sealed_currencies/lib/src/translations/chf_currency.l10n.dart +++ b/packages/sealed_currencies/lib/src/translations/chf_currency.l10n.dart @@ -128,11 +128,7 @@ const chfCurrencyTranslations = [ TranslatedName(LangBen(), name: "সুইস ফ্রাঁ"), TranslatedName(LangBre(), name: "lur Suis"), TranslatedName(LangBos(), name: "Švicarski franak"), - TranslatedName( - LangBos(), - name: "Швајцарски франак", - script: ScriptCyrl(), - ), + TranslatedName(LangBos(), name: "Швајцарски франак", script: ScriptCyrl()), TranslatedName(LangCat(), name: "franc suís"), TranslatedName(LangChe(), name: "Швейцарин франк"), TranslatedName(LangCes(), name: "švýcarský frank"), diff --git a/packages/sealed_currencies/lib/src/translations/clp_currency.l10n.dart b/packages/sealed_currencies/lib/src/translations/clp_currency.l10n.dart index 050f658a..78f4c0e5 100644 --- a/packages/sealed_currencies/lib/src/translations/clp_currency.l10n.dart +++ b/packages/sealed_currencies/lib/src/translations/clp_currency.l10n.dart @@ -116,11 +116,7 @@ const clpCurrencyTranslations = [ TranslatedName(LangBen(), name: "চিলি পেসো"), TranslatedName(LangBre(), name: "peso Chile"), TranslatedName(LangBos(), name: "Čileanski pezos"), - TranslatedName( - LangBos(), - name: "Чилеански пезо", - script: ScriptCyrl(), - ), + TranslatedName(LangBos(), name: "Чилеански пезо", script: ScriptCyrl()), TranslatedName(LangCat(), name: "peso xilè"), TranslatedName(LangChe(), name: "Чилин песо"), TranslatedName(LangCes(), name: "chilské peso"), @@ -198,11 +194,7 @@ const clpCurrencyTranslations = [ TranslatedName(LangUkr(), name: "чилійський песо"), TranslatedName(LangUrd(), name: "چلّین پیسہ"), TranslatedName(LangUzb(), name: "Chili pesosi"), - TranslatedName( - LangUzb(), - name: "Чили песоси", - script: ScriptCyrl(), - ), + TranslatedName(LangUzb(), name: "Чили песоси", script: ScriptCyrl()), TranslatedName(LangVie(), name: "Peso Chile"), TranslatedName(LangZho(), name: "智利比索"), TranslatedName(LangZho(), name: "智利披索", script: ScriptHant()), diff --git a/packages/sealed_currencies/lib/src/translations/cny_currency.l10n.dart b/packages/sealed_currencies/lib/src/translations/cny_currency.l10n.dart index eb9308f7..0ebbfd4e 100644 --- a/packages/sealed_currencies/lib/src/translations/cny_currency.l10n.dart +++ b/packages/sealed_currencies/lib/src/translations/cny_currency.l10n.dart @@ -219,11 +219,7 @@ const cnyCurrencyTranslations = [ TranslatedName(LangUkr(), name: "китайський юань"), TranslatedName(LangUrd(), name: "چینی یوآن"), TranslatedName(LangUzb(), name: "Xitoy yuani"), - TranslatedName( - LangUzb(), - name: "Хитой юани", - script: ScriptCyrl(), - ), + TranslatedName(LangUzb(), name: "Хитой юани", script: ScriptCyrl()), TranslatedName(LangVie(), name: "Nhân dân tệ"), TranslatedName(LangYid(), name: "כינעזישער יואן"), TranslatedName(LangYor(), name: "Reminibi ti Orílẹ́ède ṣáínà"), diff --git a/packages/sealed_currencies/lib/src/translations/cop_currency.l10n.dart b/packages/sealed_currencies/lib/src/translations/cop_currency.l10n.dart index 1cc65fe5..26c1c06f 100644 --- a/packages/sealed_currencies/lib/src/translations/cop_currency.l10n.dart +++ b/packages/sealed_currencies/lib/src/translations/cop_currency.l10n.dart @@ -116,11 +116,7 @@ const copCurrencyTranslations = [ TranslatedName(LangBen(), name: "কলোম্বিয়ান পেসো"), TranslatedName(LangBre(), name: "peso Kolombia"), TranslatedName(LangBos(), name: "Kolumbijski pezos"), - TranslatedName( - LangBos(), - name: "Колумбијски пезо", - script: ScriptCyrl(), - ), + TranslatedName(LangBos(), name: "Колумбијски пезо", script: ScriptCyrl()), TranslatedName(LangCat(), name: "peso colombià"), TranslatedName(LangChe(), name: "Колумбин песо"), TranslatedName(LangCes(), name: "kolumbijské peso"), @@ -197,11 +193,7 @@ const copCurrencyTranslations = [ TranslatedName(LangUkr(), name: "колумбійський песо"), TranslatedName(LangUrd(), name: "کولمبین پیسہ"), TranslatedName(LangUzb(), name: "Kolumbiya pesosi"), - TranslatedName( - LangUzb(), - name: "Колумбия песоси", - script: ScriptCyrl(), - ), + TranslatedName(LangUzb(), name: "Колумбия песоси", script: ScriptCyrl()), TranslatedName(LangVie(), name: "Peso Colombia"), TranslatedName(LangZho(), name: "哥伦比亚比索"), TranslatedName(LangZho(), name: "哥倫比亞披索", script: ScriptHant()), diff --git a/packages/sealed_currencies/lib/src/translations/crc_currency.l10n.dart b/packages/sealed_currencies/lib/src/translations/crc_currency.l10n.dart index 38258210..57e4db91 100644 --- a/packages/sealed_currencies/lib/src/translations/crc_currency.l10n.dart +++ b/packages/sealed_currencies/lib/src/translations/crc_currency.l10n.dart @@ -197,11 +197,7 @@ const crcCurrencyTranslations = [ TranslatedName(LangUrd(), name: "کوسٹا ریکا کا کولن"), TranslatedName(LangUrd(), name: "کوسٹا ریکا کولون", countryCode: "IN"), TranslatedName(LangUzb(), name: "Kosta-Rika koloni"), - TranslatedName( - LangUzb(), - name: "Коста-Рика колони", - script: ScriptCyrl(), - ), + TranslatedName(LangUzb(), name: "Коста-Рика колони", script: ScriptCyrl()), TranslatedName(LangVie(), name: "Colón Costa Rica"), TranslatedName(LangZho(), name: "哥斯达黎加科朗"), TranslatedName(LangZho(), name: "哥斯達黎加科郎", countryCode: "HK"), diff --git a/packages/sealed_currencies/lib/src/translations/cup_currency.l10n.dart b/packages/sealed_currencies/lib/src/translations/cup_currency.l10n.dart index 50dda078..9fd946be 100644 --- a/packages/sealed_currencies/lib/src/translations/cup_currency.l10n.dart +++ b/packages/sealed_currencies/lib/src/translations/cup_currency.l10n.dart @@ -116,11 +116,7 @@ const cupCurrencyTranslations = [ TranslatedName(LangBen(), name: "কিউবান পেসো"), TranslatedName(LangBre(), name: "peso Kuba"), TranslatedName(LangBos(), name: "kubanski pezos"), - TranslatedName( - LangBos(), - name: "Кубански пезо", - script: ScriptCyrl(), - ), + TranslatedName(LangBos(), name: "Кубански пезо", script: ScriptCyrl()), TranslatedName(LangCat(), name: "peso cubà"), TranslatedName(LangChe(), name: "Кубан песо"), TranslatedName(LangCes(), name: "kubánské peso"), @@ -198,11 +194,7 @@ const cupCurrencyTranslations = [ TranslatedName(LangUrd(), name: "کیوبا کا پیسو"), TranslatedName(LangUrd(), name: "کیوبائی پیسو", countryCode: "IN"), TranslatedName(LangUzb(), name: "Kuba pesosi"), - TranslatedName( - LangUzb(), - name: "Куба песоси", - script: ScriptCyrl(), - ), + TranslatedName(LangUzb(), name: "Куба песоси", script: ScriptCyrl()), TranslatedName(LangVie(), name: "Peso Cuba"), TranslatedName(LangZho(), name: "古巴比索"), TranslatedName(LangZho(), name: "古巴披索", script: ScriptHant()), diff --git a/packages/sealed_currencies/lib/src/translations/czk_currency.l10n.dart b/packages/sealed_currencies/lib/src/translations/czk_currency.l10n.dart index 4aa30246..bfd6c25a 100644 --- a/packages/sealed_currencies/lib/src/translations/czk_currency.l10n.dart +++ b/packages/sealed_currencies/lib/src/translations/czk_currency.l10n.dart @@ -115,11 +115,7 @@ const czkCurrencyTranslations = [ TranslatedName(LangBen(), name: "চেক প্রজাতন্ত্র কোরুনা"), TranslatedName(LangBre(), name: "kurunenn Tchek"), TranslatedName(LangBos(), name: "Češka kruna"), - TranslatedName( - LangBos(), - name: "Чешка круна", - script: ScriptCyrl(), - ), + TranslatedName(LangBos(), name: "Чешка круна", script: ScriptCyrl()), TranslatedName(LangCat(), name: "corona txeca"), TranslatedName(LangChe(), name: "Чехин крона"), TranslatedName(LangCes(), name: "česká koruna"), diff --git a/packages/sealed_currencies/lib/src/translations/djf_currency.l10n.dart b/packages/sealed_currencies/lib/src/translations/djf_currency.l10n.dart index 78435a1e..11aa4d72 100644 --- a/packages/sealed_currencies/lib/src/translations/djf_currency.l10n.dart +++ b/packages/sealed_currencies/lib/src/translations/djf_currency.l10n.dart @@ -127,11 +127,7 @@ const djfCurrencyTranslations = [ TranslatedName(LangBen(), name: "জিবুতি ফ্রাঙ্ক"), TranslatedName(LangBre(), name: "lur Djibouti"), TranslatedName(LangBos(), name: "Džibutski franak"), - TranslatedName( - LangBos(), - name: "Џибутански франак", - script: ScriptCyrl(), - ), + TranslatedName(LangBos(), name: "Џибутански франак", script: ScriptCyrl()), TranslatedName(LangCat(), name: "franc de Djibouti"), TranslatedName(LangChe(), name: "Джибутин франк"), TranslatedName(LangCes(), name: "džibutský frank"), diff --git a/packages/sealed_currencies/lib/src/translations/dkk_currency.l10n.dart b/packages/sealed_currencies/lib/src/translations/dkk_currency.l10n.dart index 89eadcc2..d43e384c 100644 --- a/packages/sealed_currencies/lib/src/translations/dkk_currency.l10n.dart +++ b/packages/sealed_currencies/lib/src/translations/dkk_currency.l10n.dart @@ -117,11 +117,7 @@ const dkkCurrencyTranslations = [ TranslatedName(LangBen(), name: "ড্যানিশ ক্রৌন"), TranslatedName(LangBre(), name: "kurunenn Danmark"), TranslatedName(LangBos(), name: "Danska kruna"), - TranslatedName( - LangBos(), - name: "Данска круна", - script: ScriptCyrl(), - ), + TranslatedName(LangBos(), name: "Данска круна", script: ScriptCyrl()), TranslatedName(LangCat(), name: "corona danesa"), TranslatedName(LangChe(), name: "Данин крона"), TranslatedName(LangCes(), name: "dánská koruna"), diff --git a/packages/sealed_currencies/lib/src/translations/dop_currency.l10n.dart b/packages/sealed_currencies/lib/src/translations/dop_currency.l10n.dart index b0cfeb37..9798988e 100644 --- a/packages/sealed_currencies/lib/src/translations/dop_currency.l10n.dart +++ b/packages/sealed_currencies/lib/src/translations/dop_currency.l10n.dart @@ -115,11 +115,7 @@ const dopCurrencyTranslations = [ TranslatedName(LangBen(), name: "ডোমিনিকান পেসো"), TranslatedName(LangBre(), name: "peso Dominikan"), TranslatedName(LangBos(), name: "Dominikanski pezos"), - TranslatedName( - LangBos(), - name: "Доминикански пезо", - script: ScriptCyrl(), - ), + TranslatedName(LangBos(), name: "Доминикански пезо", script: ScriptCyrl()), TranslatedName(LangCat(), name: "peso dominicà"), TranslatedName(LangChe(), name: "Доминикан песо"), TranslatedName(LangCes(), name: "dominikánské peso"), @@ -195,11 +191,7 @@ const dopCurrencyTranslations = [ TranslatedName(LangUkr(), name: "домініканський песо"), TranslatedName(LangUrd(), name: "ڈومنیکن پیسو"), TranslatedName(LangUzb(), name: "Dominikana pesosi"), - TranslatedName( - LangUzb(), - name: "Доминикан песоси", - script: ScriptCyrl(), - ), + TranslatedName(LangUzb(), name: "Доминикан песоси", script: ScriptCyrl()), TranslatedName(LangVie(), name: "Peso Dominica"), TranslatedName(LangZho(), name: "多米尼加比索"), TranslatedName(LangZho(), name: "多米尼加披索", countryCode: "HK"), diff --git a/packages/sealed_currencies/lib/src/translations/dzd_currency.l10n.dart b/packages/sealed_currencies/lib/src/translations/dzd_currency.l10n.dart index 57dba860..ee636867 100644 --- a/packages/sealed_currencies/lib/src/translations/dzd_currency.l10n.dart +++ b/packages/sealed_currencies/lib/src/translations/dzd_currency.l10n.dart @@ -129,11 +129,7 @@ const dzdCurrencyTranslations = [ TranslatedName(LangBen(), name: "আলজেরীয় দিনার"), TranslatedName(LangBre(), name: "dinar Aljeria"), TranslatedName(LangBos(), name: "Alžirski dinar"), - TranslatedName( - LangBos(), - name: "Алжирски динар", - script: ScriptCyrl(), - ), + TranslatedName(LangBos(), name: "Алжирски динар", script: ScriptCyrl()), TranslatedName(LangCat(), name: "dinar algerià"), TranslatedName(LangChe(), name: "Алжиран динар"), TranslatedName(LangCes(), name: "alžírský dinár"), @@ -220,11 +216,7 @@ const dzdCurrencyTranslations = [ TranslatedName(LangUkr(), name: "алжирський динар"), TranslatedName(LangUrd(), name: "الجیریائی دینار"), TranslatedName(LangUzb(), name: "Jazoir dinori"), - TranslatedName( - LangUzb(), - name: "Жазоир динори", - script: ScriptCyrl(), - ), + TranslatedName(LangUzb(), name: "Жазоир динори", script: ScriptCyrl()), TranslatedName(LangVie(), name: "Dinar Algeria"), TranslatedName(LangYor(), name: "Dina ti Orílẹ́ède Àlùgèríánì"), TranslatedName( diff --git a/packages/sealed_currencies/lib/src/translations/egp_currency.l10n.dart b/packages/sealed_currencies/lib/src/translations/egp_currency.l10n.dart index dca1685b..93edd4fd 100644 --- a/packages/sealed_currencies/lib/src/translations/egp_currency.l10n.dart +++ b/packages/sealed_currencies/lib/src/translations/egp_currency.l10n.dart @@ -129,11 +129,7 @@ const egpCurrencyTranslations = [ TranslatedName(LangBen(), name: "মিশরীয় পাউন্ড"), TranslatedName(LangBre(), name: "lur Egipt"), TranslatedName(LangBos(), name: "Egipatska funta"), - TranslatedName( - LangBos(), - name: "Египатска фунта", - script: ScriptCyrl(), - ), + TranslatedName(LangBos(), name: "Египатска фунта", script: ScriptCyrl()), TranslatedName(LangCat(), name: "lliura egípcia"), TranslatedName(LangChe(), name: "Мисаран фунт"), TranslatedName(LangCes(), name: "egyptská libra"), @@ -220,11 +216,7 @@ const egpCurrencyTranslations = [ TranslatedName(LangUkr(), name: "єгипетський фунт"), TranslatedName(LangUrd(), name: "مصری پاؤنڈ"), TranslatedName(LangUzb(), name: "Misr funti"), - TranslatedName( - LangUzb(), - name: "Миср фунти", - script: ScriptCyrl(), - ), + TranslatedName(LangUzb(), name: "Миср фунти", script: ScriptCyrl()), TranslatedName(LangVie(), name: "Bảng Ai Cập"), TranslatedName(LangYor(), name: "pọọn ti Orílẹ́ède Egipiti"), TranslatedName( diff --git a/packages/sealed_currencies/lib/src/translations/ern_currency.l10n.dart b/packages/sealed_currencies/lib/src/translations/ern_currency.l10n.dart index 25bbd472..bbe39df6 100644 --- a/packages/sealed_currencies/lib/src/translations/ern_currency.l10n.dart +++ b/packages/sealed_currencies/lib/src/translations/ern_currency.l10n.dart @@ -129,11 +129,7 @@ const ernCurrencyTranslations = [ TranslatedName(LangBen(), name: "এরিট্রিয়েন নাকফা"), TranslatedName(LangBre(), name: "nakfa Eritrea"), TranslatedName(LangBos(), name: "Eritrejska nakfa"), - TranslatedName( - LangBos(), - name: "Еритреанска накфа", - script: ScriptCyrl(), - ), + TranslatedName(LangBos(), name: "Еритреанска накфа", script: ScriptCyrl()), TranslatedName(LangCat(), name: "nakfa eritreu"), TranslatedName(LangChe(), name: "Эритрейн накфа"), TranslatedName(LangCes(), name: "eritrejská nakfa"), diff --git a/packages/sealed_currencies/lib/src/translations/etb_currency.l10n.dart b/packages/sealed_currencies/lib/src/translations/etb_currency.l10n.dart index 02f81fd1..0185d465 100644 --- a/packages/sealed_currencies/lib/src/translations/etb_currency.l10n.dart +++ b/packages/sealed_currencies/lib/src/translations/etb_currency.l10n.dart @@ -130,11 +130,7 @@ const etbCurrencyTranslations = [ TranslatedName(LangBen(), name: "ইথিওপিয়ান বির"), TranslatedName(LangBre(), name: "birr Etiopia"), TranslatedName(LangBos(), name: "Etiopski bir"), - TranslatedName( - LangBos(), - name: "етиопијски бир", - script: ScriptCyrl(), - ), + TranslatedName(LangBos(), name: "етиопијски бир", script: ScriptCyrl()), TranslatedName(LangCat(), name: "birr etíop"), TranslatedName(LangChe(), name: "Эфиопин быр"), TranslatedName(LangCes(), name: "etiopský birr"), diff --git a/packages/sealed_currencies/lib/src/translations/eur_currency.l10n.dart b/packages/sealed_currencies/lib/src/translations/eur_currency.l10n.dart index e7470b78..db7247ec 100644 --- a/packages/sealed_currencies/lib/src/translations/eur_currency.l10n.dart +++ b/packages/sealed_currencies/lib/src/translations/eur_currency.l10n.dart @@ -124,11 +124,7 @@ const eurCurrencyTranslations = [ TranslatedName(LangBam(), name: "ero"), TranslatedName(LangBen(), name: "ইউরো"), TranslatedName(LangBre(), name: "euro"), - TranslatedName( - LangBos(), - name: "Евро", - script: ScriptCyrl(), - ), + TranslatedName(LangBos(), name: "Евро", script: ScriptCyrl()), TranslatedName(LangCat(), name: "euro"), TranslatedName(LangChe(), name: "Евро"), TranslatedName(LangCes(), name: "euro"), @@ -211,11 +207,7 @@ const eurCurrencyTranslations = [ TranslatedName(LangUkr(), name: "євро"), TranslatedName(LangUrd(), name: "یورو"), TranslatedName(LangUzb(), name: "Yevro"), - TranslatedName( - LangUzb(), - name: "Евро", - script: ScriptCyrl(), - ), + TranslatedName(LangUzb(), name: "Евро", script: ScriptCyrl()), TranslatedName(LangYid(), name: "איירא"), TranslatedName(LangYor(), name: "Uro"), TranslatedName(LangZho(), name: "欧元"), diff --git a/packages/sealed_currencies/lib/src/translations/fjd_currency.l10n.dart b/packages/sealed_currencies/lib/src/translations/fjd_currency.l10n.dart index e00da445..bc5be006 100644 --- a/packages/sealed_currencies/lib/src/translations/fjd_currency.l10n.dart +++ b/packages/sealed_currencies/lib/src/translations/fjd_currency.l10n.dart @@ -116,11 +116,7 @@ const fjdCurrencyTranslations = [ TranslatedName(LangBen(), name: "ফিজি ডলার"), TranslatedName(LangBre(), name: "dollar Fidji"), TranslatedName(LangBos(), name: "Fidžijski dolar"), - TranslatedName( - LangBos(), - name: "Фиџи долар", - script: ScriptCyrl(), - ), + TranslatedName(LangBos(), name: "Фиџи долар", script: ScriptCyrl()), TranslatedName(LangCat(), name: "dòlar fijià"), TranslatedName(LangChe(), name: "Фиджин доллар"), TranslatedName(LangCes(), name: "fidžijský dolar"), diff --git a/packages/sealed_currencies/lib/src/translations/gbp_currency.l10n.dart b/packages/sealed_currencies/lib/src/translations/gbp_currency.l10n.dart index 3b397375..1ca4332f 100644 --- a/packages/sealed_currencies/lib/src/translations/gbp_currency.l10n.dart +++ b/packages/sealed_currencies/lib/src/translations/gbp_currency.l10n.dart @@ -122,11 +122,7 @@ const gbpCurrencyTranslations = [ TranslatedName(LangBen(), name: "ব্রিটিশ পাউন্ড"), TranslatedName(LangBre(), name: "lur Breizh-Veur"), TranslatedName(LangBos(), name: "Britanska funta"), - TranslatedName( - LangBos(), - name: "Британска фунта", - script: ScriptCyrl(), - ), + TranslatedName(LangBos(), name: "Британска фунта", script: ScriptCyrl()), TranslatedName(LangCat(), name: "lliura esterlina britànica"), TranslatedName(LangChe(), name: "Англин фунт"), TranslatedName(LangCes(), name: "britská libra"), @@ -221,11 +217,7 @@ const gbpCurrencyTranslations = [ TranslatedName(LangUrd(), name: "انگلستانی پاونڈ سٹرلنگ"), TranslatedName(LangUrd(), name: "برطانوی پاونڈ سٹرلنگ", countryCode: "IN"), TranslatedName(LangUzb(), name: "Angliya funt sterlingi"), - TranslatedName( - LangUzb(), - name: "Инглиз фунт", - script: ScriptCyrl(), - ), + TranslatedName(LangUzb(), name: "Инглиз фунт", script: ScriptCyrl()), TranslatedName(LangVie(), name: "Bảng Anh"), TranslatedName(LangYid(), name: "פֿונט שטערלינג"), TranslatedName(LangYor(), name: "Pọọn ti Orílẹ́ède Bírítísì"), diff --git a/packages/sealed_currencies/lib/src/translations/gel_currency.l10n.dart b/packages/sealed_currencies/lib/src/translations/gel_currency.l10n.dart index 40e2cbb5..d2093a55 100644 --- a/packages/sealed_currencies/lib/src/translations/gel_currency.l10n.dart +++ b/packages/sealed_currencies/lib/src/translations/gel_currency.l10n.dart @@ -116,11 +116,7 @@ const gelCurrencyTranslations = [ TranslatedName(LangBen(), name: "জর্জিয়ান লারি"), TranslatedName(LangBre(), name: "lari Jorjia"), TranslatedName(LangBos(), name: "Gruzijski lari"), - TranslatedName( - LangBos(), - name: "Грузијски лари", - script: ScriptCyrl(), - ), + TranslatedName(LangBos(), name: "Грузијски лари", script: ScriptCyrl()), TranslatedName(LangCat(), name: "lari georgià"), TranslatedName(LangChe(), name: "Гуьржийчоьнан лари"), TranslatedName(LangCes(), name: "gruzínské lari"), diff --git a/packages/sealed_currencies/lib/src/translations/ghs_currency.l10n.dart b/packages/sealed_currencies/lib/src/translations/ghs_currency.l10n.dart index f292f9b4..b8f695ac 100644 --- a/packages/sealed_currencies/lib/src/translations/ghs_currency.l10n.dart +++ b/packages/sealed_currencies/lib/src/translations/ghs_currency.l10n.dart @@ -117,11 +117,7 @@ const ghsCurrencyTranslations = [ TranslatedName(LangBen(), name: "ঘানা সেডি"), TranslatedName(LangBre(), name: "cedi Ghana"), TranslatedName(LangBos(), name: "Ganski cedi"), - TranslatedName( - LangBos(), - name: "Гански цеди", - script: ScriptCyrl(), - ), + TranslatedName(LangBos(), name: "Гански цеди", script: ScriptCyrl()), TranslatedName(LangCat(), name: "cedi ghanès"), TranslatedName(LangChe(), name: "Ганан седи"), TranslatedName(LangCes(), name: "ghanský cedi"), diff --git a/packages/sealed_currencies/lib/src/translations/gip_currency.l10n.dart b/packages/sealed_currencies/lib/src/translations/gip_currency.l10n.dart index 756efec3..e0cf90f7 100644 --- a/packages/sealed_currencies/lib/src/translations/gip_currency.l10n.dart +++ b/packages/sealed_currencies/lib/src/translations/gip_currency.l10n.dart @@ -115,11 +115,7 @@ const gipCurrencyTranslations = [ TranslatedName(LangBen(), name: "জিব্রাল্টার পাউন্ড"), TranslatedName(LangBre(), name: "lur Jibraltar"), TranslatedName(LangBos(), name: "Gibraltarska funta"), - TranslatedName( - LangBos(), - name: "Гибралташка фунта", - script: ScriptCyrl(), - ), + TranslatedName(LangBos(), name: "Гибралташка фунта", script: ScriptCyrl()), TranslatedName(LangCat(), name: "lliura de Gibraltar"), TranslatedName(LangChe(), name: "Гибралтаран фунт"), TranslatedName(LangCes(), name: "gibraltarská libra"), diff --git a/packages/sealed_currencies/lib/src/translations/gmd_currency.l10n.dart b/packages/sealed_currencies/lib/src/translations/gmd_currency.l10n.dart index 6b08c592..7536fea6 100644 --- a/packages/sealed_currencies/lib/src/translations/gmd_currency.l10n.dart +++ b/packages/sealed_currencies/lib/src/translations/gmd_currency.l10n.dart @@ -128,11 +128,7 @@ const gmdCurrencyTranslations = [ TranslatedName(LangBen(), name: "গাম্বিয়া ডালাসি"), TranslatedName(LangBre(), name: "dalasi Gambia"), TranslatedName(LangBos(), name: "Gambijski dalasi"), - TranslatedName( - LangBos(), - name: "Гамбијски даласи", - script: ScriptCyrl(), - ), + TranslatedName(LangBos(), name: "Гамбијски даласи", script: ScriptCyrl()), TranslatedName(LangCat(), name: "dalasi gambià"), TranslatedName(LangChe(), name: "Гамбин даласи"), TranslatedName(LangCes(), name: "gambijský dalasi"), diff --git a/packages/sealed_currencies/lib/src/translations/gnf_currency.l10n.dart b/packages/sealed_currencies/lib/src/translations/gnf_currency.l10n.dart index 661573b7..d26c5ea0 100644 --- a/packages/sealed_currencies/lib/src/translations/gnf_currency.l10n.dart +++ b/packages/sealed_currencies/lib/src/translations/gnf_currency.l10n.dart @@ -115,11 +115,7 @@ const gnfCurrencyTranslations = [ TranslatedName(LangBen(), name: "গিনি ফ্রাঙ্ক"), TranslatedName(LangBre(), name: "lur Ginea"), TranslatedName(LangBos(), name: "Gvinejski franak"), - TranslatedName( - LangBos(), - name: "Гвинејски франак", - script: ScriptCyrl(), - ), + TranslatedName(LangBos(), name: "Гвинејски франак", script: ScriptCyrl()), TranslatedName(LangCat(), name: "franc guineà"), TranslatedName(LangChe(), name: "Гвинейн франк"), TranslatedName(LangCes(), name: "guinejský frank"), diff --git a/packages/sealed_currencies/lib/src/translations/gyd_currency.l10n.dart b/packages/sealed_currencies/lib/src/translations/gyd_currency.l10n.dart index 146825b8..632d6680 100644 --- a/packages/sealed_currencies/lib/src/translations/gyd_currency.l10n.dart +++ b/packages/sealed_currencies/lib/src/translations/gyd_currency.l10n.dart @@ -115,11 +115,7 @@ const gydCurrencyTranslations = [ TranslatedName(LangBen(), name: "গাইয়েনা ডলার"), TranslatedName(LangBre(), name: "dollar Guyana"), TranslatedName(LangBos(), name: "Gvajanski dolar"), - TranslatedName( - LangBos(), - name: "Гујански долар", - script: ScriptCyrl(), - ), + TranslatedName(LangBos(), name: "Гујански долар", script: ScriptCyrl()), TranslatedName(LangCat(), name: "dòlar de Guyana"), TranslatedName(LangChe(), name: "Гайанан доллар"), TranslatedName(LangCes(), name: "guyanský dolar"), @@ -196,11 +192,7 @@ const gydCurrencyTranslations = [ TranslatedName(LangUkr(), name: "гаянський долар"), TranslatedName(LangUrd(), name: "گویانیز ڈالر"), TranslatedName(LangUzb(), name: "Gayana dollari"), - TranslatedName( - LangUzb(), - name: "Гаяна доллари", - script: ScriptCyrl(), - ), + TranslatedName(LangUzb(), name: "Гаяна доллари", script: ScriptCyrl()), TranslatedName(LangVie(), name: "Đô la Guyana"), TranslatedName(LangZho(), name: "圭亚那元"), TranslatedName(LangZho(), name: "圭亞那元", script: ScriptHant()), diff --git a/packages/sealed_currencies/lib/src/translations/hkd_currency.l10n.dart b/packages/sealed_currencies/lib/src/translations/hkd_currency.l10n.dart index 79af3d15..80b80dab 100644 --- a/packages/sealed_currencies/lib/src/translations/hkd_currency.l10n.dart +++ b/packages/sealed_currencies/lib/src/translations/hkd_currency.l10n.dart @@ -103,11 +103,7 @@ const hkdCurrencyTranslations = [ TranslatedName(LangBen(), name: "হংকং ডলার"), TranslatedName(LangBre(), name: "dollar Hong Kong"), TranslatedName(LangBos(), name: "Honkonški dolar"), - TranslatedName( - LangBos(), - name: "Хонгконшки долар", - script: ScriptCyrl(), - ), + TranslatedName(LangBos(), name: "Хонгконшки долар", script: ScriptCyrl()), TranslatedName(LangCat(), name: "dòlar de Hong Kong"), TranslatedName(LangChe(), name: "Гонконган доллар"), TranslatedName(LangCes(), name: "hongkongský dolar"), @@ -185,11 +181,7 @@ const hkdCurrencyTranslations = [ TranslatedName(LangUkr(), name: "гонконгський долар"), TranslatedName(LangUrd(), name: "ھانگ کانگ ڈالر"), TranslatedName(LangUzb(), name: "Gonkong dollari"), - TranslatedName( - LangUzb(), - name: "HKD", - script: ScriptCyrl(), - ), + TranslatedName(LangUzb(), name: "HKD", script: ScriptCyrl()), TranslatedName(LangVie(), name: "Đô la Hồng Kông"), TranslatedName(LangZho(), name: "港元"), TranslatedName(LangZho(), name: "港幣", script: ScriptHant()), diff --git a/packages/sealed_currencies/lib/src/translations/hrk_currency.l10n.dart b/packages/sealed_currencies/lib/src/translations/hrk_currency.l10n.dart index 69c86a82..b78a7f03 100644 --- a/packages/sealed_currencies/lib/src/translations/hrk_currency.l10n.dart +++ b/packages/sealed_currencies/lib/src/translations/hrk_currency.l10n.dart @@ -115,11 +115,7 @@ const hrkCurrencyTranslations = [ TranslatedName(LangBen(), name: "ক্রোয়েশিয়ান কুনা"), TranslatedName(LangBre(), name: "kuna Kroatia"), TranslatedName(LangBos(), name: "Hrvatska kuna"), - TranslatedName( - LangBos(), - name: "Хрватска куна", - script: ScriptCyrl(), - ), + TranslatedName(LangBos(), name: "Хрватска куна", script: ScriptCyrl()), TranslatedName(LangCat(), name: "kuna croata"), TranslatedName(LangChe(), name: "Хорватин куна"), TranslatedName(LangCes(), name: "chorvatská kuna"), diff --git a/packages/sealed_currencies/lib/src/translations/htg_currency.l10n.dart b/packages/sealed_currencies/lib/src/translations/htg_currency.l10n.dart index 8ebd0792..7beaf0f0 100644 --- a/packages/sealed_currencies/lib/src/translations/htg_currency.l10n.dart +++ b/packages/sealed_currencies/lib/src/translations/htg_currency.l10n.dart @@ -115,11 +115,7 @@ const htgCurrencyTranslations = [ TranslatedName(LangBen(), name: "হাইতি গৌর্দে"), TranslatedName(LangBre(), name: "gourde Haiti"), TranslatedName(LangBos(), name: "Haićanski gurd"), - TranslatedName( - LangBos(), - name: "Хаићански гурд", - script: ScriptCyrl(), - ), + TranslatedName(LangBos(), name: "Хаићански гурд", script: ScriptCyrl()), TranslatedName(LangCat(), name: "gourde haitià"), TranslatedName(LangChe(), name: "Гаитин гурд"), TranslatedName(LangCes(), name: "haitský gourde"), @@ -195,11 +191,7 @@ const htgCurrencyTranslations = [ TranslatedName(LangUkr(), name: "гаїтянський гурд"), TranslatedName(LangUrd(), name: "ہیتی کا گؤرڈی"), TranslatedName(LangUzb(), name: "Gaiti gurdi"), - TranslatedName( - LangUzb(), - name: "Гаити гурдаси", - script: ScriptCyrl(), - ), + TranslatedName(LangUzb(), name: "Гаити гурдаси", script: ScriptCyrl()), TranslatedName(LangVie(), name: "Gourde Haiti"), TranslatedName(LangZho(), name: "海地古德"), TranslatedName(LangZul(), name: "i-Haitian Gourde"), diff --git a/packages/sealed_currencies/lib/src/translations/huf_currency.l10n.dart b/packages/sealed_currencies/lib/src/translations/huf_currency.l10n.dart index eba05309..7515b08b 100644 --- a/packages/sealed_currencies/lib/src/translations/huf_currency.l10n.dart +++ b/packages/sealed_currencies/lib/src/translations/huf_currency.l10n.dart @@ -115,11 +115,7 @@ const hufCurrencyTranslations = [ TranslatedName(LangBen(), name: "হাঙ্গেরিয়ান ফোরিন্ট"), TranslatedName(LangBre(), name: "forint Hungaria"), TranslatedName(LangBos(), name: "Mađarska forinta"), - TranslatedName( - LangBos(), - name: "Мађарска форинта", - script: ScriptCyrl(), - ), + TranslatedName(LangBos(), name: "Мађарска форинта", script: ScriptCyrl()), TranslatedName(LangCat(), name: "fòrint hongarès"), TranslatedName(LangChe(), name: "Венгрин форинт"), TranslatedName(LangCes(), name: "maďarský forint"), diff --git a/packages/sealed_currencies/lib/src/translations/ils_currency.l10n.dart b/packages/sealed_currencies/lib/src/translations/ils_currency.l10n.dart index 2ff7eb48..63e11351 100644 --- a/packages/sealed_currencies/lib/src/translations/ils_currency.l10n.dart +++ b/packages/sealed_currencies/lib/src/translations/ils_currency.l10n.dart @@ -186,11 +186,7 @@ const ilsCurrencyTranslations = [ TranslatedName(LangUkr(), name: "ізраїльський новий шекель"), TranslatedName(LangUrd(), name: "اسرائیلی نیا شیکل"), TranslatedName(LangUzb(), name: "Isroil yangi shekeli"), - TranslatedName( - LangUzb(), - name: "ILS", - script: ScriptCyrl(), - ), + TranslatedName(LangUzb(), name: "ILS", script: ScriptCyrl()), TranslatedName(LangVie(), name: "Sheqel Israel mới"), TranslatedName(LangZho(), name: "以色列新谢克尔"), TranslatedName(LangZho(), name: "以色列新謝克爾", script: ScriptHant()), diff --git a/packages/sealed_currencies/lib/src/translations/inr_currency.l10n.dart b/packages/sealed_currencies/lib/src/translations/inr_currency.l10n.dart index d7ad8996..65418b3b 100644 --- a/packages/sealed_currencies/lib/src/translations/inr_currency.l10n.dart +++ b/packages/sealed_currencies/lib/src/translations/inr_currency.l10n.dart @@ -124,11 +124,7 @@ const inrCurrencyTranslations = [ TranslatedName(LangBod(), name: "རྒྱ་གར་སྒོར་"), TranslatedName(LangBre(), name: "roupi India"), TranslatedName(LangBos(), name: "Indijska rupija"), - TranslatedName( - LangBos(), - name: "Индијски Рупи", - script: ScriptCyrl(), - ), + TranslatedName(LangBos(), name: "Индијски Рупи", script: ScriptCyrl()), TranslatedName(LangCat(), name: "rupia índia"), TranslatedName(LangChe(), name: "Индин рупи"), TranslatedName(LangCes(), name: "indická rupie"), @@ -219,11 +215,7 @@ const inrCurrencyTranslations = [ TranslatedName(LangUkr(), name: "індійська рупія"), TranslatedName(LangUrd(), name: "بھارتی روپیہ"), TranslatedName(LangUzb(), name: "Hindiston rupiyasi"), - TranslatedName( - LangUzb(), - name: "Ҳинд рупияси", - script: ScriptCyrl(), - ), + TranslatedName(LangUzb(), name: "Ҳинд рупияси", script: ScriptCyrl()), TranslatedName(LangVie(), name: "Rupee Ấn Độ"), TranslatedName(LangYid(), name: "אינדישער רופי"), TranslatedName(LangYor(), name: "Rupi ti Orílẹ́ède Indina"), diff --git a/packages/sealed_currencies/lib/src/translations/iqd_currency.l10n.dart b/packages/sealed_currencies/lib/src/translations/iqd_currency.l10n.dart index 2fbf42c4..831960fe 100644 --- a/packages/sealed_currencies/lib/src/translations/iqd_currency.l10n.dart +++ b/packages/sealed_currencies/lib/src/translations/iqd_currency.l10n.dart @@ -116,11 +116,7 @@ const iqdCurrencyTranslations = [ TranslatedName(LangBen(), name: "ইরাকি দিনার"), TranslatedName(LangBre(), name: "dinar Iraq"), TranslatedName(LangBos(), name: "Irački dinar"), - TranslatedName( - LangBos(), - name: "Ирачки динар", - script: ScriptCyrl(), - ), + TranslatedName(LangBos(), name: "Ирачки динар", script: ScriptCyrl()), TranslatedName(LangCat(), name: "dinar iraquià"), TranslatedName(LangChe(), name: "Ӏиракъан динар"), TranslatedName(LangCes(), name: "irácký dinár"), diff --git a/packages/sealed_currencies/lib/src/translations/irr_currency.l10n.dart b/packages/sealed_currencies/lib/src/translations/irr_currency.l10n.dart index 22f6e7c6..87267f76 100644 --- a/packages/sealed_currencies/lib/src/translations/irr_currency.l10n.dart +++ b/packages/sealed_currencies/lib/src/translations/irr_currency.l10n.dart @@ -116,11 +116,7 @@ const irrCurrencyTranslations = [ TranslatedName(LangBen(), name: "ইরানিয়ান রিয়াল"), TranslatedName(LangBre(), name: "rial Iran"), TranslatedName(LangBos(), name: "Iranski rijal"), - TranslatedName( - LangBos(), - name: "Ирански риал", - script: ScriptCyrl(), - ), + TranslatedName(LangBos(), name: "Ирански риал", script: ScriptCyrl()), TranslatedName(LangCat(), name: "rial iranià"), TranslatedName(LangChe(), name: "ГӀажарийчоьнан риал"), TranslatedName(LangCes(), name: "íránský rijál"), diff --git a/packages/sealed_currencies/lib/src/translations/isk_currency.l10n.dart b/packages/sealed_currencies/lib/src/translations/isk_currency.l10n.dart index 38fbb9a4..9df5b331 100644 --- a/packages/sealed_currencies/lib/src/translations/isk_currency.l10n.dart +++ b/packages/sealed_currencies/lib/src/translations/isk_currency.l10n.dart @@ -115,11 +115,7 @@ const iskCurrencyTranslations = [ TranslatedName(LangBen(), name: "আইসল্যান্ড ক্রৌন"), TranslatedName(LangBre(), name: "kurunenn Island"), TranslatedName(LangBos(), name: "Islandska kruna"), - TranslatedName( - LangBos(), - name: "Исландска круна", - script: ScriptCyrl(), - ), + TranslatedName(LangBos(), name: "Исландска круна", script: ScriptCyrl()), TranslatedName(LangCat(), name: "corona islandesa"), TranslatedName(LangChe(), name: "Исландин крона"), TranslatedName(LangCes(), name: "islandská koruna"), diff --git a/packages/sealed_currencies/lib/src/translations/jmd_currency.l10n.dart b/packages/sealed_currencies/lib/src/translations/jmd_currency.l10n.dart index d469a6eb..c2dfddee 100644 --- a/packages/sealed_currencies/lib/src/translations/jmd_currency.l10n.dart +++ b/packages/sealed_currencies/lib/src/translations/jmd_currency.l10n.dart @@ -116,11 +116,7 @@ const jmdCurrencyTranslations = [ TranslatedName(LangBen(), name: "জামাইকান ডলার"), TranslatedName(LangBre(), name: "dollar Jamaika"), TranslatedName(LangBos(), name: "Jamajčanski dolar"), - TranslatedName( - LangBos(), - name: "Јамајски долар", - script: ScriptCyrl(), - ), + TranslatedName(LangBos(), name: "Јамајски долар", script: ScriptCyrl()), TranslatedName(LangCat(), name: "dòlar jamaicà"), TranslatedName(LangChe(), name: "Ямайн доллар"), TranslatedName(LangCes(), name: "jamajský dolar"), @@ -197,11 +193,7 @@ const jmdCurrencyTranslations = [ TranslatedName(LangUkr(), name: "ямайський долар"), TranslatedName(LangUrd(), name: "جمائیکن ڈالر"), TranslatedName(LangUzb(), name: "Yamayka dollari"), - TranslatedName( - LangUzb(), - name: "Ямайка доллари", - script: ScriptCyrl(), - ), + TranslatedName(LangUzb(), name: "Ямайка доллари", script: ScriptCyrl()), TranslatedName(LangVie(), name: "Đô la Jamaica"), TranslatedName(LangZho(), name: "牙买加元"), TranslatedName(LangZho(), name: "牙買加元", script: ScriptHant()), diff --git a/packages/sealed_currencies/lib/src/translations/jod_currency.l10n.dart b/packages/sealed_currencies/lib/src/translations/jod_currency.l10n.dart index a4b62eca..142fe526 100644 --- a/packages/sealed_currencies/lib/src/translations/jod_currency.l10n.dart +++ b/packages/sealed_currencies/lib/src/translations/jod_currency.l10n.dart @@ -116,11 +116,7 @@ const jodCurrencyTranslations = [ TranslatedName(LangBen(), name: "জর্ডানিয়ান দিনার"), TranslatedName(LangBre(), name: "dinar Jordania"), TranslatedName(LangBos(), name: "Jordanski dinar"), - TranslatedName( - LangBos(), - name: "Јордански динар", - script: ScriptCyrl(), - ), + TranslatedName(LangBos(), name: "Јордански динар", script: ScriptCyrl()), TranslatedName(LangCat(), name: "dinar jordà"), TranslatedName(LangChe(), name: "Урданан динар"), TranslatedName(LangCes(), name: "jordánský dinár"), diff --git a/packages/sealed_currencies/lib/src/translations/jpy_currency.l10n.dart b/packages/sealed_currencies/lib/src/translations/jpy_currency.l10n.dart index f7983c80..190f8cfb 100644 --- a/packages/sealed_currencies/lib/src/translations/jpy_currency.l10n.dart +++ b/packages/sealed_currencies/lib/src/translations/jpy_currency.l10n.dart @@ -121,11 +121,7 @@ const jpyCurrencyTranslations = [ TranslatedName(LangBen(), name: "জাপানি ইয়েন"), TranslatedName(LangBre(), name: "yen Japan"), TranslatedName(LangBos(), name: "Japanski jen"), - TranslatedName( - LangBos(), - name: "Јапански јен", - script: ScriptCyrl(), - ), + TranslatedName(LangBos(), name: "Јапански јен", script: ScriptCyrl()), TranslatedName(LangCat(), name: "ien japonès"), TranslatedName(LangChe(), name: "Японин иена"), TranslatedName(LangCes(), name: "japonský jen"), @@ -216,11 +212,7 @@ const jpyCurrencyTranslations = [ TranslatedName(LangUkr(), name: "японська єна"), TranslatedName(LangUrd(), name: "جاپانی ین"), TranslatedName(LangUzb(), name: "Yaponiya iyenasi"), - TranslatedName( - LangUzb(), - name: "Япон йенаси", - script: ScriptCyrl(), - ), + TranslatedName(LangUzb(), name: "Япон йенаси", script: ScriptCyrl()), TranslatedName(LangVie(), name: "Yên Nhật"), TranslatedName(LangYid(), name: "יאפאנעזישער יען"), TranslatedName(LangYor(), name: "Yeni ti Orílẹ́ède Japani"), diff --git a/packages/sealed_currencies/lib/src/translations/kes_currency.l10n.dart b/packages/sealed_currencies/lib/src/translations/kes_currency.l10n.dart index 5bccca68..1640f1a2 100644 --- a/packages/sealed_currencies/lib/src/translations/kes_currency.l10n.dart +++ b/packages/sealed_currencies/lib/src/translations/kes_currency.l10n.dart @@ -130,11 +130,7 @@ const kesCurrencyTranslations = [ TranslatedName(LangBen(), name: "কেনিয়ান শিলিং"), TranslatedName(LangBre(), name: "shilling Kenya"), TranslatedName(LangBos(), name: "Kenijski šiling"), - TranslatedName( - LangBos(), - name: "Кенијски шилинг", - script: ScriptCyrl(), - ), + TranslatedName(LangBos(), name: "Кенијски шилинг", script: ScriptCyrl()), TranslatedName(LangCat(), name: "xíling kenyà"), TranslatedName(LangChe(), name: "Кенин шиллинг"), TranslatedName(LangCes(), name: "keňský šilink"), diff --git a/packages/sealed_currencies/lib/src/translations/kgs_currency.l10n.dart b/packages/sealed_currencies/lib/src/translations/kgs_currency.l10n.dart index f51099d8..b2a8e696 100644 --- a/packages/sealed_currencies/lib/src/translations/kgs_currency.l10n.dart +++ b/packages/sealed_currencies/lib/src/translations/kgs_currency.l10n.dart @@ -115,11 +115,7 @@ const kgsCurrencyTranslations = [ TranslatedName(LangBen(), name: "কিরগিজস্তান সোম"), TranslatedName(LangBre(), name: "som Kyrgyzstan"), TranslatedName(LangBos(), name: "Kirgistanski som"), - TranslatedName( - LangBos(), - name: "Киргистански сом", - script: ScriptCyrl(), - ), + TranslatedName(LangBos(), name: "Киргистански сом", script: ScriptCyrl()), TranslatedName(LangCat(), name: "som kirguís"), TranslatedName(LangChe(), name: "Киргизин сом"), TranslatedName(LangCes(), name: "kyrgyzský som"), diff --git a/packages/sealed_currencies/lib/src/translations/khr_currency.l10n.dart b/packages/sealed_currencies/lib/src/translations/khr_currency.l10n.dart index 77c8ad43..1600dc79 100644 --- a/packages/sealed_currencies/lib/src/translations/khr_currency.l10n.dart +++ b/packages/sealed_currencies/lib/src/translations/khr_currency.l10n.dart @@ -116,11 +116,7 @@ const khrCurrencyTranslations = [ TranslatedName(LangBen(), name: "কম্বোডিয়ান রিয়েল"), TranslatedName(LangBre(), name: "riel Kambodja"), TranslatedName(LangBos(), name: "Kambodžanski rijel"), - TranslatedName( - LangBos(), - name: "Камбоџијски риел", - script: ScriptCyrl(), - ), + TranslatedName(LangBos(), name: "Камбоџијски риел", script: ScriptCyrl()), TranslatedName(LangCat(), name: "riel cambodjà"), TranslatedName(LangChe(), name: "Камбоджан риель"), TranslatedName(LangCes(), name: "kambodžský riel"), diff --git a/packages/sealed_currencies/lib/src/translations/kmf_currency.l10n.dart b/packages/sealed_currencies/lib/src/translations/kmf_currency.l10n.dart index db011c23..6e6bc50e 100644 --- a/packages/sealed_currencies/lib/src/translations/kmf_currency.l10n.dart +++ b/packages/sealed_currencies/lib/src/translations/kmf_currency.l10n.dart @@ -128,11 +128,7 @@ const kmfCurrencyTranslations = [ TranslatedName(LangBen(), name: "কম্বোরো ফ্রাঙ্ক"), TranslatedName(LangBre(), name: "lur Komorez"), TranslatedName(LangBos(), name: "Komorski franak"), - TranslatedName( - LangBos(), - name: "Коморски франак", - script: ScriptCyrl(), - ), + TranslatedName(LangBos(), name: "Коморски франак", script: ScriptCyrl()), TranslatedName(LangCat(), name: "franc de les Comores"), TranslatedName(LangChe(), name: "Коморийн гӀайренийн франк"), TranslatedName(LangCes(), name: "komorský frank"), diff --git a/packages/sealed_currencies/lib/src/translations/krw_currency.l10n.dart b/packages/sealed_currencies/lib/src/translations/krw_currency.l10n.dart index f491a328..104b875e 100644 --- a/packages/sealed_currencies/lib/src/translations/krw_currency.l10n.dart +++ b/packages/sealed_currencies/lib/src/translations/krw_currency.l10n.dart @@ -103,11 +103,7 @@ const krwCurrencyTranslations = [ TranslatedName(LangBen(), name: "দক্ষিণ কোরিয়ান ওন"), TranslatedName(LangBre(), name: "won Korea ar Su"), TranslatedName(LangBos(), name: "Južnokorejski von"), - TranslatedName( - LangBos(), - name: "Јужнокорејски Вон", - script: ScriptCyrl(), - ), + TranslatedName(LangBos(), name: "Јужнокорејски Вон", script: ScriptCyrl()), TranslatedName(LangCat(), name: "won sud-coreà"), TranslatedName(LangChe(), name: "Къилба Корейн вона"), TranslatedName(LangCes(), name: "jihokorejský won"), @@ -184,11 +180,7 @@ const krwCurrencyTranslations = [ TranslatedName(LangUkr(), name: "південнокорейський вон"), TranslatedName(LangUrd(), name: "جنوبی کوریائی وون"), TranslatedName(LangUzb(), name: "Janubiy Koreya voni"), - TranslatedName( - LangUzb(), - name: "KRW", - script: ScriptCyrl(), - ), + TranslatedName(LangUzb(), name: "KRW", script: ScriptCyrl()), TranslatedName(LangVie(), name: "Won Hàn Quốc"), TranslatedName(LangZho(), name: "韩元"), TranslatedName(LangZho(), name: "韓圓", countryCode: "HK"), diff --git a/packages/sealed_currencies/lib/src/translations/kwd_currency.l10n.dart b/packages/sealed_currencies/lib/src/translations/kwd_currency.l10n.dart index 9a315d20..72da3689 100644 --- a/packages/sealed_currencies/lib/src/translations/kwd_currency.l10n.dart +++ b/packages/sealed_currencies/lib/src/translations/kwd_currency.l10n.dart @@ -116,11 +116,7 @@ const kwdCurrencyTranslations = [ TranslatedName(LangBen(), name: "কুয়েতি দিনার"), TranslatedName(LangBre(), name: "dinar Koweit"), TranslatedName(LangBos(), name: "Kuvajtski dinar"), - TranslatedName( - LangBos(), - name: "Кувајтски динар", - script: ScriptCyrl(), - ), + TranslatedName(LangBos(), name: "Кувајтски динар", script: ScriptCyrl()), TranslatedName(LangCat(), name: "dinar kuwaitià"), TranslatedName(LangChe(), name: "Кувейтан динар"), TranslatedName(LangCes(), name: "kuvajtský dinár"), diff --git a/packages/sealed_currencies/lib/src/translations/kzt_currency.l10n.dart b/packages/sealed_currencies/lib/src/translations/kzt_currency.l10n.dart index 810665b8..3dd75144 100644 --- a/packages/sealed_currencies/lib/src/translations/kzt_currency.l10n.dart +++ b/packages/sealed_currencies/lib/src/translations/kzt_currency.l10n.dart @@ -116,11 +116,7 @@ const kztCurrencyTranslations = [ TranslatedName(LangBen(), name: "কাজাখাস্তানি টেঙ্গে"), TranslatedName(LangBre(), name: "tenge Kazakstan"), TranslatedName(LangBos(), name: "Kazahstanski tenge"), - TranslatedName( - LangBos(), - name: "Казахстански тенџ", - script: ScriptCyrl(), - ), + TranslatedName(LangBos(), name: "Казахстански тенџ", script: ScriptCyrl()), TranslatedName(LangCat(), name: "tenge kazakh"), TranslatedName(LangChe(), name: "Казахстанан тенге"), TranslatedName(LangCes(), name: "kazašské tenge"), diff --git a/packages/sealed_currencies/lib/src/translations/lak_currency.l10n.dart b/packages/sealed_currencies/lib/src/translations/lak_currency.l10n.dart index 6a0eaf85..b4fbef2b 100644 --- a/packages/sealed_currencies/lib/src/translations/lak_currency.l10n.dart +++ b/packages/sealed_currencies/lib/src/translations/lak_currency.l10n.dart @@ -116,11 +116,7 @@ const lakCurrencyTranslations = [ TranslatedName(LangBen(), name: "লেউশান কিপ"), TranslatedName(LangBre(), name: "kip Laos"), TranslatedName(LangBos(), name: "Laoski kip"), - TranslatedName( - LangBos(), - name: "Лаошки кип", - script: ScriptCyrl(), - ), + TranslatedName(LangBos(), name: "Лаошки кип", script: ScriptCyrl()), TranslatedName(LangCat(), name: "kip laosià"), TranslatedName(LangChe(), name: "Лаосан кип"), TranslatedName(LangCes(), name: "laoský kip"), diff --git a/packages/sealed_currencies/lib/src/translations/lbp_currency.l10n.dart b/packages/sealed_currencies/lib/src/translations/lbp_currency.l10n.dart index c0d8061e..990d1736 100644 --- a/packages/sealed_currencies/lib/src/translations/lbp_currency.l10n.dart +++ b/packages/sealed_currencies/lib/src/translations/lbp_currency.l10n.dart @@ -116,11 +116,7 @@ const lbpCurrencyTranslations = [ TranslatedName(LangBen(), name: "লেবানিজ পাউন্ড"), TranslatedName(LangBre(), name: "lur Liban"), TranslatedName(LangBos(), name: "Libanska funta"), - TranslatedName( - LangBos(), - name: "Лебанска фунта", - script: ScriptCyrl(), - ), + TranslatedName(LangBos(), name: "Лебанска фунта", script: ScriptCyrl()), TranslatedName(LangCat(), name: "lliura libanesa"), TranslatedName(LangChe(), name: "Ливанан фунт"), TranslatedName(LangCes(), name: "libanonská libra"), diff --git a/packages/sealed_currencies/lib/src/translations/lkr_currency.l10n.dart b/packages/sealed_currencies/lib/src/translations/lkr_currency.l10n.dart index 0915beea..34ceaf1f 100644 --- a/packages/sealed_currencies/lib/src/translations/lkr_currency.l10n.dart +++ b/packages/sealed_currencies/lib/src/translations/lkr_currency.l10n.dart @@ -116,11 +116,7 @@ const lkrCurrencyTranslations = [ TranslatedName(LangBen(), name: "শ্রীলঙ্কান রুপি"), TranslatedName(LangBre(), name: "roupi Sri Lanka"), TranslatedName(LangBos(), name: "Šrilankanska rupija"), - TranslatedName( - LangBos(), - name: "Шриланкански рупи", - script: ScriptCyrl(), - ), + TranslatedName(LangBos(), name: "Шриланкански рупи", script: ScriptCyrl()), TranslatedName(LangCat(), name: "rupia de Sri Lanka"), TranslatedName(LangChe(), name: "Шри-Ланкан рупи"), TranslatedName(LangCes(), name: "srílanská rupie"), diff --git a/packages/sealed_currencies/lib/src/translations/lrd_currency.l10n.dart b/packages/sealed_currencies/lib/src/translations/lrd_currency.l10n.dart index 66e277cf..e927823e 100644 --- a/packages/sealed_currencies/lib/src/translations/lrd_currency.l10n.dart +++ b/packages/sealed_currencies/lib/src/translations/lrd_currency.l10n.dart @@ -129,11 +129,7 @@ const lrdCurrencyTranslations = [ TranslatedName(LangBen(), name: "লিবেরিয়ান ডলার"), TranslatedName(LangBre(), name: "dollar Liberia"), TranslatedName(LangBos(), name: "Liberijski dolar"), - TranslatedName( - LangBos(), - name: "Либеријски долар", - script: ScriptCyrl(), - ), + TranslatedName(LangBos(), name: "Либеријски долар", script: ScriptCyrl()), TranslatedName(LangCat(), name: "dòlar liberià"), TranslatedName(LangChe(), name: "Либерин доллар"), TranslatedName(LangCes(), name: "liberijský dolar"), diff --git a/packages/sealed_currencies/lib/src/translations/lsl_currency.l10n.dart b/packages/sealed_currencies/lib/src/translations/lsl_currency.l10n.dart index f88a7a13..dd9c46c8 100644 --- a/packages/sealed_currencies/lib/src/translations/lsl_currency.l10n.dart +++ b/packages/sealed_currencies/lib/src/translations/lsl_currency.l10n.dart @@ -125,11 +125,7 @@ const lslCurrencyTranslations = [ TranslatedName(LangBen(), name: "লেসুটু লোটি"), TranslatedName(LangBre(), name: "loti Lesotho"), TranslatedName(LangBos(), name: "Lesotski loti"), - TranslatedName( - LangBos(), - name: "Лесото лоти", - script: ScriptCyrl(), - ), + TranslatedName(LangBos(), name: "Лесото лоти", script: ScriptCyrl()), TranslatedName(LangCat(), name: "loti de Lesotho"), TranslatedName(LangCes(), name: "lesothský loti"), TranslatedName(LangCym(), name: "Loti Lesotho"), diff --git a/packages/sealed_currencies/lib/src/translations/lyd_currency.l10n.dart b/packages/sealed_currencies/lib/src/translations/lyd_currency.l10n.dart index f7cc5979..90fe31cf 100644 --- a/packages/sealed_currencies/lib/src/translations/lyd_currency.l10n.dart +++ b/packages/sealed_currencies/lib/src/translations/lyd_currency.l10n.dart @@ -129,11 +129,7 @@ const lydCurrencyTranslations = [ TranslatedName(LangBen(), name: "লিবিয়ান ডলার"), TranslatedName(LangBre(), name: "dinar Libia"), TranslatedName(LangBos(), name: "Libijski dinar"), - TranslatedName( - LangBos(), - name: "Либијски динар", - script: ScriptCyrl(), - ), + TranslatedName(LangBos(), name: "Либијски динар", script: ScriptCyrl()), TranslatedName(LangCat(), name: "dinar libi"), TranslatedName(LangChe(), name: "Ливин динар"), TranslatedName(LangCes(), name: "libyjský dinár"), @@ -220,11 +216,7 @@ const lydCurrencyTranslations = [ TranslatedName(LangUkr(), name: "лівійський динар"), TranslatedName(LangUrd(), name: "لیبیائی دینار"), TranslatedName(LangUzb(), name: "Liviya dinori"), - TranslatedName( - LangUzb(), - name: "Ливия динори", - script: ScriptCyrl(), - ), + TranslatedName(LangUzb(), name: "Ливия динори", script: ScriptCyrl()), TranslatedName(LangVie(), name: "Dinar Libi"), TranslatedName(LangYor(), name: "Dina ti Orílẹ́ède Libiya"), TranslatedName( diff --git a/packages/sealed_currencies/lib/src/translations/mad_currency.l10n.dart b/packages/sealed_currencies/lib/src/translations/mad_currency.l10n.dart index 46d42723..e7c46b9c 100644 --- a/packages/sealed_currencies/lib/src/translations/mad_currency.l10n.dart +++ b/packages/sealed_currencies/lib/src/translations/mad_currency.l10n.dart @@ -129,11 +129,7 @@ const madCurrencyTranslations = [ TranslatedName(LangBen(), name: "মোরোক্কান দিরহাম"), TranslatedName(LangBre(), name: "dirham Maroko"), TranslatedName(LangBos(), name: "Marokanski dirham"), - TranslatedName( - LangBos(), - name: "Марокански дирхам", - script: ScriptCyrl(), - ), + TranslatedName(LangBos(), name: "Марокански дирхам", script: ScriptCyrl()), TranslatedName(LangCat(), name: "dírham marroquí"), TranslatedName(LangChe(), name: "Мароккон дирхам"), TranslatedName(LangCes(), name: "marocký dinár"), @@ -221,11 +217,7 @@ const madCurrencyTranslations = [ TranslatedName(LangUkr(), name: "марокканський дирхам"), TranslatedName(LangUrd(), name: "مراکشی درہم"), TranslatedName(LangUzb(), name: "Marokash dirhami"), - TranslatedName( - LangUzb(), - name: "Марокаш дирҳами", - script: ScriptCyrl(), - ), + TranslatedName(LangUzb(), name: "Марокаш дирҳами", script: ScriptCyrl()), TranslatedName(LangVie(), name: "Dirham Ma-rốc"), TranslatedName(LangYor(), name: "Dirami ti Orílẹ́ède Moroko"), TranslatedName( diff --git a/packages/sealed_currencies/lib/src/translations/mdl_currency.l10n.dart b/packages/sealed_currencies/lib/src/translations/mdl_currency.l10n.dart index c8f56808..ff7c70d8 100644 --- a/packages/sealed_currencies/lib/src/translations/mdl_currency.l10n.dart +++ b/packages/sealed_currencies/lib/src/translations/mdl_currency.l10n.dart @@ -115,11 +115,7 @@ const mdlCurrencyTranslations = [ TranslatedName(LangBen(), name: "মোল্ডোভান লেয়ু"), TranslatedName(LangBre(), name: "leu Moldova"), TranslatedName(LangBos(), name: "Moldavski lej"), - TranslatedName( - LangBos(), - name: "Молдовски љу", - script: ScriptCyrl(), - ), + TranslatedName(LangBos(), name: "Молдовски љу", script: ScriptCyrl()), TranslatedName(LangCat(), name: "leu moldau"), TranslatedName(LangChe(), name: "Молдавин лей"), TranslatedName(LangCes(), name: "moldavský leu"), diff --git a/packages/sealed_currencies/lib/src/translations/mkd_currency.l10n.dart b/packages/sealed_currencies/lib/src/translations/mkd_currency.l10n.dart index b58b28aa..6b911b8b 100644 --- a/packages/sealed_currencies/lib/src/translations/mkd_currency.l10n.dart +++ b/packages/sealed_currencies/lib/src/translations/mkd_currency.l10n.dart @@ -115,11 +115,7 @@ const mkdCurrencyTranslations = [ TranslatedName(LangBen(), name: "ম্যাসেডোনিয়ান দিনার"), TranslatedName(LangBre(), name: "denar Makedonia"), TranslatedName(LangBos(), name: "Makedonski denar"), - TranslatedName( - LangBos(), - name: "Македонски денар", - script: ScriptCyrl(), - ), + TranslatedName(LangBos(), name: "Македонски денар", script: ScriptCyrl()), TranslatedName(LangCat(), name: "denar macedoni"), TranslatedName(LangChe(), name: "Македонин динар"), TranslatedName(LangCes(), name: "makedonský denár"), diff --git a/packages/sealed_currencies/lib/src/translations/mmk_currency.l10n.dart b/packages/sealed_currencies/lib/src/translations/mmk_currency.l10n.dart index 01f13eb6..b3c5d355 100644 --- a/packages/sealed_currencies/lib/src/translations/mmk_currency.l10n.dart +++ b/packages/sealed_currencies/lib/src/translations/mmk_currency.l10n.dart @@ -116,11 +116,7 @@ const mmkCurrencyTranslations = [ TranslatedName(LangBen(), name: "মায়ানমার কিয়াত"), TranslatedName(LangBre(), name: "kyat Myanmar"), TranslatedName(LangBos(), name: "Mijanmarski kjat"), - TranslatedName( - LangBos(), - name: "Мјанмашки кјат", - script: ScriptCyrl(), - ), + TranslatedName(LangBos(), name: "Мјанмашки кјат", script: ScriptCyrl()), TranslatedName(LangCat(), name: "kyat de Myanmar"), TranslatedName(LangChe(), name: "Мьянман кьят"), TranslatedName(LangCes(), name: "myanmarský kyat"), diff --git a/packages/sealed_currencies/lib/src/translations/mnt_currency.l10n.dart b/packages/sealed_currencies/lib/src/translations/mnt_currency.l10n.dart index d278d544..4f6b5215 100644 --- a/packages/sealed_currencies/lib/src/translations/mnt_currency.l10n.dart +++ b/packages/sealed_currencies/lib/src/translations/mnt_currency.l10n.dart @@ -116,11 +116,7 @@ const mntCurrencyTranslations = [ TranslatedName(LangBen(), name: "মঙ্গোলিয়ান তুগরিক"), TranslatedName(LangBre(), name: "tugrik Mongolia"), TranslatedName(LangBos(), name: "Mongolski tugrik"), - TranslatedName( - LangBos(), - name: "Монголски тугрик", - script: ScriptCyrl(), - ), + TranslatedName(LangBos(), name: "Монголски тугрик", script: ScriptCyrl()), TranslatedName(LangCat(), name: "tögrög mongol"), TranslatedName(LangChe(), name: "Монголин тугрик"), TranslatedName(LangCes(), name: "mongolský tugrik"), diff --git a/packages/sealed_currencies/lib/src/translations/mop_currency.l10n.dart b/packages/sealed_currencies/lib/src/translations/mop_currency.l10n.dart index c77e7fb6..e242802c 100644 --- a/packages/sealed_currencies/lib/src/translations/mop_currency.l10n.dart +++ b/packages/sealed_currencies/lib/src/translations/mop_currency.l10n.dart @@ -115,11 +115,7 @@ const mopCurrencyTranslations = [ TranslatedName(LangBen(), name: "ম্যাক্যাও পাটাকা"), TranslatedName(LangBre(), name: "pataca Macau"), TranslatedName(LangBos(), name: "Makaonska pataka"), - TranslatedName( - LangBos(), - name: "Маканишка патака", - script: ScriptCyrl(), - ), + TranslatedName(LangBos(), name: "Маканишка патака", script: ScriptCyrl()), TranslatedName(LangCat(), name: "pataca de Macau"), TranslatedName(LangChe(), name: "Макаон патака"), TranslatedName(LangCes(), name: "macajská pataca"), diff --git a/packages/sealed_currencies/lib/src/translations/mur_currency.l10n.dart b/packages/sealed_currencies/lib/src/translations/mur_currency.l10n.dart index 1ff0ad73..14017745 100644 --- a/packages/sealed_currencies/lib/src/translations/mur_currency.l10n.dart +++ b/packages/sealed_currencies/lib/src/translations/mur_currency.l10n.dart @@ -128,11 +128,7 @@ const murCurrencyTranslations = [ TranslatedName(LangBen(), name: "মৌরিতানিয়ান রুপি"), TranslatedName(LangBre(), name: "roupi Moris"), TranslatedName(LangBos(), name: "Mauricijska rupija"), - TranslatedName( - LangBos(), - name: "Маурицијски рупи", - script: ScriptCyrl(), - ), + TranslatedName(LangBos(), name: "Маурицијски рупи", script: ScriptCyrl()), TranslatedName(LangCat(), name: "rupia mauriciana"), TranslatedName(LangChe(), name: "Маврикин рупи"), TranslatedName(LangCes(), name: "mauricijská rupie"), diff --git a/packages/sealed_currencies/lib/src/translations/mwk_currency.l10n.dart b/packages/sealed_currencies/lib/src/translations/mwk_currency.l10n.dart index 0b8c71cc..c0ba6c7d 100644 --- a/packages/sealed_currencies/lib/src/translations/mwk_currency.l10n.dart +++ b/packages/sealed_currencies/lib/src/translations/mwk_currency.l10n.dart @@ -127,11 +127,7 @@ const mwkCurrencyTranslations = [ TranslatedName(LangBen(), name: "মালাউইয়ান কওয়াচ"), TranslatedName(LangBre(), name: "kwacha Malawi"), TranslatedName(LangBos(), name: "Malavijska kvača"), - TranslatedName( - LangBos(), - name: "Малавијска квача", - script: ScriptCyrl(), - ), + TranslatedName(LangBos(), name: "Малавијска квача", script: ScriptCyrl()), TranslatedName(LangCat(), name: "kwacha malawià"), TranslatedName(LangChe(), name: "Малавин квача"), TranslatedName(LangCes(), name: "malawijská kwacha"), diff --git a/packages/sealed_currencies/lib/src/translations/mxn_currency.l10n.dart b/packages/sealed_currencies/lib/src/translations/mxn_currency.l10n.dart index cd2bc0ea..b6e81748 100644 --- a/packages/sealed_currencies/lib/src/translations/mxn_currency.l10n.dart +++ b/packages/sealed_currencies/lib/src/translations/mxn_currency.l10n.dart @@ -104,11 +104,7 @@ const mxnCurrencyTranslations = [ TranslatedName(LangBen(), name: "ম্যাক্সিকান পেসো"), TranslatedName(LangBre(), name: "peso Mecʼhiko"), TranslatedName(LangBos(), name: "Meksički pezos"), - TranslatedName( - LangBos(), - name: "Мексички пезо", - script: ScriptCyrl(), - ), + TranslatedName(LangBos(), name: "Мексички пезо", script: ScriptCyrl()), TranslatedName(LangCat(), name: "peso mexicà"), TranslatedName(LangChe(), name: "Мексикан песо"), TranslatedName(LangCes(), name: "mexické peso"), @@ -187,11 +183,7 @@ const mxnCurrencyTranslations = [ TranslatedName(LangUkr(), name: "мексиканський песо"), TranslatedName(LangUrd(), name: "میکسیکی پیسہ"), TranslatedName(LangUzb(), name: "Meksika pesosi"), - TranslatedName( - LangUzb(), - name: "Мексика песоси", - script: ScriptCyrl(), - ), + TranslatedName(LangUzb(), name: "Мексика песоси", script: ScriptCyrl()), TranslatedName(LangVie(), name: "Peso Mexico"), TranslatedName(LangZho(), name: "墨西哥比索"), TranslatedName(LangZho(), name: "墨西哥披索", script: ScriptHant()), diff --git a/packages/sealed_currencies/lib/src/translations/nad_currency.l10n.dart b/packages/sealed_currencies/lib/src/translations/nad_currency.l10n.dart index 022f1821..57c00c53 100644 --- a/packages/sealed_currencies/lib/src/translations/nad_currency.l10n.dart +++ b/packages/sealed_currencies/lib/src/translations/nad_currency.l10n.dart @@ -127,11 +127,7 @@ const nadCurrencyTranslations = [ TranslatedName(LangBen(), name: "নামিবিয়া ডলার"), TranslatedName(LangBre(), name: "dollar Namibia"), TranslatedName(LangBos(), name: "Namibijski dolar"), - TranslatedName( - LangBos(), - name: "намбијски долар", - script: ScriptCyrl(), - ), + TranslatedName(LangBos(), name: "намбијски долар", script: ScriptCyrl()), TranslatedName(LangCat(), name: "dòlar namibià"), TranslatedName(LangChe(), name: "Намибин доллар"), TranslatedName(LangCes(), name: "namibijský dolar"), diff --git a/packages/sealed_currencies/lib/src/translations/ngn_currency.l10n.dart b/packages/sealed_currencies/lib/src/translations/ngn_currency.l10n.dart index 652be934..57511561 100644 --- a/packages/sealed_currencies/lib/src/translations/ngn_currency.l10n.dart +++ b/packages/sealed_currencies/lib/src/translations/ngn_currency.l10n.dart @@ -128,11 +128,7 @@ const ngnCurrencyTranslations = [ TranslatedName(LangBen(), name: "নাইজেরিয়ান নায়রা"), TranslatedName(LangBre(), name: "naira Nigeria"), TranslatedName(LangBos(), name: "Nigerijska naira"), - TranslatedName( - LangBos(), - name: "Нигеријска наира", - script: ScriptCyrl(), - ), + TranslatedName(LangBos(), name: "Нигеријска наира", script: ScriptCyrl()), TranslatedName(LangCat(), name: "naira nigerià"), TranslatedName(LangChe(), name: "Нигерин найра"), TranslatedName(LangCes(), name: "nigerijská naira"), diff --git a/packages/sealed_currencies/lib/src/translations/nok_currency.l10n.dart b/packages/sealed_currencies/lib/src/translations/nok_currency.l10n.dart index a78b0dbd..36514809 100644 --- a/packages/sealed_currencies/lib/src/translations/nok_currency.l10n.dart +++ b/packages/sealed_currencies/lib/src/translations/nok_currency.l10n.dart @@ -116,11 +116,7 @@ const nokCurrencyTranslations = [ TranslatedName(LangBen(), name: "নরওয়ে ক্রৌন"), TranslatedName(LangBre(), name: "kurunenn Norvegia"), TranslatedName(LangBos(), name: "Norveška kruna"), - TranslatedName( - LangBos(), - name: "Норвешка круна", - script: ScriptCyrl(), - ), + TranslatedName(LangBos(), name: "Норвешка круна", script: ScriptCyrl()), TranslatedName(LangCat(), name: "corona noruega"), TranslatedName(LangChe(), name: "Норвегин крона"), TranslatedName(LangCes(), name: "norská koruna"), diff --git a/packages/sealed_currencies/lib/src/translations/npr_currency.l10n.dart b/packages/sealed_currencies/lib/src/translations/npr_currency.l10n.dart index 88dad61b..ef6a9bff 100644 --- a/packages/sealed_currencies/lib/src/translations/npr_currency.l10n.dart +++ b/packages/sealed_currencies/lib/src/translations/npr_currency.l10n.dart @@ -116,11 +116,7 @@ const nprCurrencyTranslations = [ TranslatedName(LangBen(), name: "নেপালি রুপি"), TranslatedName(LangBre(), name: "roupi Nepal"), TranslatedName(LangBos(), name: "Nepalska rupija"), - TranslatedName( - LangBos(), - name: "Непалски рупи", - script: ScriptCyrl(), - ), + TranslatedName(LangBos(), name: "Непалски рупи", script: ScriptCyrl()), TranslatedName(LangCat(), name: "rupia nepalesa"), TranslatedName(LangChe(), name: "Непалан рупи"), TranslatedName(LangCes(), name: "nepálská rupie"), diff --git a/packages/sealed_currencies/lib/src/translations/nzd_currency.l10n.dart b/packages/sealed_currencies/lib/src/translations/nzd_currency.l10n.dart index 9726e323..3d11d6ae 100644 --- a/packages/sealed_currencies/lib/src/translations/nzd_currency.l10n.dart +++ b/packages/sealed_currencies/lib/src/translations/nzd_currency.l10n.dart @@ -186,11 +186,7 @@ const nzdCurrencyTranslations = [ TranslatedName(LangUkr(), name: "новозеландський долар"), TranslatedName(LangUrd(), name: "نیوزی لینڈ ڈالر"), TranslatedName(LangUzb(), name: "Yangi Zelandiya dollari"), - TranslatedName( - LangUzb(), - name: "NZD", - script: ScriptCyrl(), - ), + TranslatedName(LangUzb(), name: "NZD", script: ScriptCyrl()), TranslatedName(LangVie(), name: "Đô la New Zealand"), TranslatedName(LangZho(), name: "新西兰元"), TranslatedName(LangZho(), name: "紐西蘭元", countryCode: "HK"), diff --git a/packages/sealed_currencies/lib/src/translations/omr_currency.l10n.dart b/packages/sealed_currencies/lib/src/translations/omr_currency.l10n.dart index 3ca387be..39cfdd9b 100644 --- a/packages/sealed_currencies/lib/src/translations/omr_currency.l10n.dart +++ b/packages/sealed_currencies/lib/src/translations/omr_currency.l10n.dart @@ -116,11 +116,7 @@ const omrCurrencyTranslations = [ TranslatedName(LangBen(), name: "ওমানি রিয়াল"), TranslatedName(LangBre(), name: "rial Oman"), TranslatedName(LangBos(), name: "Omanski rijal"), - TranslatedName( - LangBos(), - name: "Омански ријал", - script: ScriptCyrl(), - ), + TranslatedName(LangBos(), name: "Омански ријал", script: ScriptCyrl()), TranslatedName(LangCat(), name: "rial omanita"), TranslatedName(LangChe(), name: "Оманан риал"), TranslatedName(LangCes(), name: "ománský rijál"), diff --git a/packages/sealed_currencies/lib/src/translations/pab_currency.l10n.dart b/packages/sealed_currencies/lib/src/translations/pab_currency.l10n.dart index dd69d384..d22ce66b 100644 --- a/packages/sealed_currencies/lib/src/translations/pab_currency.l10n.dart +++ b/packages/sealed_currencies/lib/src/translations/pab_currency.l10n.dart @@ -116,11 +116,7 @@ const pabCurrencyTranslations = [ TranslatedName(LangBen(), name: "পানামা বেলবোয়া"), TranslatedName(LangBre(), name: "balboa Panamá"), TranslatedName(LangBos(), name: "Panamska balboa"), - TranslatedName( - LangBos(), - name: "Панамска балбоа", - script: ScriptCyrl(), - ), + TranslatedName(LangBos(), name: "Панамска балбоа", script: ScriptCyrl()), TranslatedName(LangCat(), name: "balboa panameny"), TranslatedName(LangChe(), name: "Панаман бальбоа"), TranslatedName(LangCes(), name: "panamská balboa"), @@ -198,11 +194,7 @@ const pabCurrencyTranslations = [ TranslatedName(LangUkr(), name: "панамська бальбоа"), TranslatedName(LangUrd(), name: "پنامہ کا بالبوآ"), TranslatedName(LangUzb(), name: "Panama balboasi"), - TranslatedName( - LangUzb(), - name: "Панама бальбоаси", - script: ScriptCyrl(), - ), + TranslatedName(LangUzb(), name: "Панама бальбоаси", script: ScriptCyrl()), TranslatedName(LangVie(), name: "Balboa Panama"), TranslatedName(LangZho(), name: "巴拿马巴波亚"), TranslatedName(LangZho(), name: "巴拿馬巴波亞", script: ScriptHant()), diff --git a/packages/sealed_currencies/lib/src/translations/pen_currency.l10n.dart b/packages/sealed_currencies/lib/src/translations/pen_currency.l10n.dart index fb9063c7..862a4aef 100644 --- a/packages/sealed_currencies/lib/src/translations/pen_currency.l10n.dart +++ b/packages/sealed_currencies/lib/src/translations/pen_currency.l10n.dart @@ -117,11 +117,7 @@ const penCurrencyTranslations = [ TranslatedName(LangBen(), name: "পেরুভিয়ান সোল"), TranslatedName(LangBre(), name: "sol Perou"), TranslatedName(LangBos(), name: "Peruanski sol"), - TranslatedName( - LangBos(), - name: "Перуански сол", - script: ScriptCyrl(), - ), + TranslatedName(LangBos(), name: "Перуански сол", script: ScriptCyrl()), TranslatedName(LangCat(), name: "sol peruà"), TranslatedName(LangChe(), name: "Перун соль"), TranslatedName(LangCes(), name: "peruánský sol"), @@ -198,11 +194,7 @@ const penCurrencyTranslations = [ TranslatedName(LangUkr(), name: "перуанський сол"), TranslatedName(LangUrd(), name: "پیرو نیووسول"), TranslatedName(LangUzb(), name: "Peru soli"), - TranslatedName( - LangUzb(), - name: "Перу сол", - script: ScriptCyrl(), - ), + TranslatedName(LangUzb(), name: "Перу сол", script: ScriptCyrl()), TranslatedName(LangVie(), name: "Sol Peru"), TranslatedName(LangZho(), name: "秘鲁索尔"), TranslatedName(LangZho(), name: "秘魯太陽幣", script: ScriptHant()), diff --git a/packages/sealed_currencies/lib/src/translations/php_currency.l10n.dart b/packages/sealed_currencies/lib/src/translations/php_currency.l10n.dart index c7f7c699..59598fca 100644 --- a/packages/sealed_currencies/lib/src/translations/php_currency.l10n.dart +++ b/packages/sealed_currencies/lib/src/translations/php_currency.l10n.dart @@ -104,11 +104,7 @@ const phpCurrencyTranslations = [ TranslatedName(LangBen(), name: "ফিলিপাইন পেসো"), TranslatedName(LangBre(), name: "peso Filipinez"), TranslatedName(LangBos(), name: "Filipinski pezos"), - TranslatedName( - LangBos(), - name: "Филипински пезо", - script: ScriptCyrl(), - ), + TranslatedName(LangBos(), name: "Филипински пезо", script: ScriptCyrl()), TranslatedName(LangCat(), name: "peso filipí"), TranslatedName(LangChe(), name: "Филиппинийн песо"), TranslatedName(LangCes(), name: "filipínské peso"), diff --git a/packages/sealed_currencies/lib/src/translations/pkr_currency.l10n.dart b/packages/sealed_currencies/lib/src/translations/pkr_currency.l10n.dart index 0add70ff..f9577050 100644 --- a/packages/sealed_currencies/lib/src/translations/pkr_currency.l10n.dart +++ b/packages/sealed_currencies/lib/src/translations/pkr_currency.l10n.dart @@ -116,11 +116,7 @@ const pkrCurrencyTranslations = [ TranslatedName(LangBen(), name: "পাকিস্তানি রুপি"), TranslatedName(LangBre(), name: "roupi Pakistan"), TranslatedName(LangBos(), name: "Pakistanska rupija"), - TranslatedName( - LangBos(), - name: "Пакистански рупи", - script: ScriptCyrl(), - ), + TranslatedName(LangBos(), name: "Пакистански рупи", script: ScriptCyrl()), TranslatedName(LangCat(), name: "rupia pakistanesa"), TranslatedName(LangChe(), name: "Пакистанан рупи"), TranslatedName(LangCes(), name: "pákistánská rupie"), diff --git a/packages/sealed_currencies/lib/src/translations/pln_currency.l10n.dart b/packages/sealed_currencies/lib/src/translations/pln_currency.l10n.dart index 0510d2b0..cfc777f8 100644 --- a/packages/sealed_currencies/lib/src/translations/pln_currency.l10n.dart +++ b/packages/sealed_currencies/lib/src/translations/pln_currency.l10n.dart @@ -116,11 +116,7 @@ const plnCurrencyTranslations = [ TranslatedName(LangBen(), name: "পোলিশ জ্লোটি"), TranslatedName(LangBre(), name: "zloty Polonia"), TranslatedName(LangBos(), name: "Poljski zlot"), - TranslatedName( - LangBos(), - name: "Пољски злот", - script: ScriptCyrl(), - ), + TranslatedName(LangBos(), name: "Пољски злот", script: ScriptCyrl()), TranslatedName(LangCat(), name: "zloty polonès"), TranslatedName(LangChe(), name: "Польшан злотый"), TranslatedName(LangCes(), name: "polský zlotý"), diff --git a/packages/sealed_currencies/lib/src/translations/pyg_currency.l10n.dart b/packages/sealed_currencies/lib/src/translations/pyg_currency.l10n.dart index 751bdfe9..e4c03c30 100644 --- a/packages/sealed_currencies/lib/src/translations/pyg_currency.l10n.dart +++ b/packages/sealed_currencies/lib/src/translations/pyg_currency.l10n.dart @@ -194,11 +194,7 @@ const pygCurrencyTranslations = [ TranslatedName(LangUkr(), name: "парагвайський гуарані"), TranslatedName(LangUrd(), name: "پیراگوئے کا گوآرنی"), TranslatedName(LangUzb(), name: "Paragvay guaranisi"), - TranslatedName( - LangUzb(), - name: "Парагвай гуарани", - script: ScriptCyrl(), - ), + TranslatedName(LangUzb(), name: "Парагвай гуарани", script: ScriptCyrl()), TranslatedName(LangVie(), name: "Guarani Paraguay"), TranslatedName(LangZho(), name: "巴拉圭瓜拉尼"), TranslatedName(LangZul(), name: "i-Paraguayan Guarani"), diff --git a/packages/sealed_currencies/lib/src/translations/qar_currency.l10n.dart b/packages/sealed_currencies/lib/src/translations/qar_currency.l10n.dart index 98dd3355..da173c4a 100644 --- a/packages/sealed_currencies/lib/src/translations/qar_currency.l10n.dart +++ b/packages/sealed_currencies/lib/src/translations/qar_currency.l10n.dart @@ -116,11 +116,7 @@ const qarCurrencyTranslations = [ TranslatedName(LangBen(), name: "কাতার রিয়্যাল"), TranslatedName(LangBre(), name: "rial Qatar"), TranslatedName(LangBos(), name: "Katarski rijal"), - TranslatedName( - LangBos(), - name: "Катаршки ријал", - script: ScriptCyrl(), - ), + TranslatedName(LangBos(), name: "Катаршки ријал", script: ScriptCyrl()), TranslatedName(LangCat(), name: "rial de Qatar"), TranslatedName(LangChe(), name: "Катаран риал"), TranslatedName(LangCes(), name: "katarský rijál"), diff --git a/packages/sealed_currencies/lib/src/translations/ron_currency.l10n.dart b/packages/sealed_currencies/lib/src/translations/ron_currency.l10n.dart index 1f1f2321..2e18bc5b 100644 --- a/packages/sealed_currencies/lib/src/translations/ron_currency.l10n.dart +++ b/packages/sealed_currencies/lib/src/translations/ron_currency.l10n.dart @@ -115,11 +115,7 @@ const ronCurrencyTranslations = [ TranslatedName(LangBen(), name: "রুমানিয়া লেয়ু"), TranslatedName(LangBre(), name: "leu Roumania"), TranslatedName(LangBos(), name: "Rumunski lej"), - TranslatedName( - LangBos(), - name: "Румунски леу", - script: ScriptCyrl(), - ), + TranslatedName(LangBos(), name: "Румунски леу", script: ScriptCyrl()), TranslatedName(LangCat(), name: "leu romanès"), TranslatedName(LangChe(), name: "Румынин лей"), TranslatedName(LangCes(), name: "rumunský leu"), @@ -194,11 +190,7 @@ const ronCurrencyTranslations = [ TranslatedName(LangUkr(), name: "румунський лей"), TranslatedName(LangUrd(), name: "رومانیائی لیو"), TranslatedName(LangUzb(), name: "Ruminiya leyi"), - TranslatedName( - LangUzb(), - name: "RON", - script: ScriptCyrl(), - ), + TranslatedName(LangUzb(), name: "RON", script: ScriptCyrl()), TranslatedName(LangVie(), name: "Leu Romania"), TranslatedName(LangZho(), name: "罗马尼亚列伊"), TranslatedName(LangZho(), name: "羅馬尼亞列伊", script: ScriptHant()), diff --git a/packages/sealed_currencies/lib/src/translations/rsd_currency.l10n.dart b/packages/sealed_currencies/lib/src/translations/rsd_currency.l10n.dart index af003dc2..983da181 100644 --- a/packages/sealed_currencies/lib/src/translations/rsd_currency.l10n.dart +++ b/packages/sealed_currencies/lib/src/translations/rsd_currency.l10n.dart @@ -115,11 +115,7 @@ const rsdCurrencyTranslations = [ TranslatedName(LangBen(), name: "সারবিয়ান দিনার"), TranslatedName(LangBre(), name: "dinar Serbia"), TranslatedName(LangBos(), name: "Srpski dinar"), - TranslatedName( - LangBos(), - name: "Српски динар", - script: ScriptCyrl(), - ), + TranslatedName(LangBos(), name: "Српски динар", script: ScriptCyrl()), TranslatedName(LangCat(), name: "dinar serbi"), TranslatedName(LangChe(), name: "Сербин динар"), TranslatedName(LangCes(), name: "srbský dinár"), diff --git a/packages/sealed_currencies/lib/src/translations/rub_currency.l10n.dart b/packages/sealed_currencies/lib/src/translations/rub_currency.l10n.dart index 74b75eba..a67f9405 100644 --- a/packages/sealed_currencies/lib/src/translations/rub_currency.l10n.dart +++ b/packages/sealed_currencies/lib/src/translations/rub_currency.l10n.dart @@ -122,11 +122,7 @@ const rubCurrencyTranslations = [ TranslatedName(LangBen(), name: "রাশিয়ান রুবেল"), TranslatedName(LangBre(), name: "roubl Rusia"), TranslatedName(LangBos(), name: "Ruska rublja"), - TranslatedName( - LangBos(), - name: "Руска рубља", - script: ScriptCyrl(), - ), + TranslatedName(LangBos(), name: "Руска рубља", script: ScriptCyrl()), TranslatedName(LangCat(), name: "ruble rus"), TranslatedName(LangChe(), name: "Российн сом"), TranslatedName(LangCes(), name: "ruský rubl"), @@ -204,11 +200,7 @@ const rubCurrencyTranslations = [ TranslatedName(LangUkr(), name: "російський рубль"), TranslatedName(LangUrd(), name: "روسی روبل"), TranslatedName(LangUzb(), name: "Rossiya rubli"), - TranslatedName( - LangUzb(), - name: "Рус рубли", - script: ScriptCyrl(), - ), + TranslatedName(LangUzb(), name: "Рус рубли", script: ScriptCyrl()), TranslatedName(LangVie(), name: "Rúp Nga"), TranslatedName(LangYid(), name: "רוסישער רובל"), TranslatedName(LangZho(), name: "俄罗斯卢布"), diff --git a/packages/sealed_currencies/lib/src/translations/rwf_currency.l10n.dart b/packages/sealed_currencies/lib/src/translations/rwf_currency.l10n.dart index 87e2efef..4b5d1848 100644 --- a/packages/sealed_currencies/lib/src/translations/rwf_currency.l10n.dart +++ b/packages/sealed_currencies/lib/src/translations/rwf_currency.l10n.dart @@ -129,11 +129,7 @@ const rwfCurrencyTranslations = [ TranslatedName(LangBen(), name: "রুয়ান্ডান ফ্রাঙ্ক"), TranslatedName(LangBre(), name: "lur Rwanda"), TranslatedName(LangBos(), name: "Ruandski franak"), - TranslatedName( - LangBos(), - name: "Руандански франак", - script: ScriptCyrl(), - ), + TranslatedName(LangBos(), name: "Руандански франак", script: ScriptCyrl()), TranslatedName(LangCat(), name: "franc de Ruanda"), TranslatedName(LangChe(), name: "Руандан франк"), TranslatedName(LangCes(), name: "rwandský frank"), diff --git a/packages/sealed_currencies/lib/src/translations/sar_currency.l10n.dart b/packages/sealed_currencies/lib/src/translations/sar_currency.l10n.dart index d32ae9f8..433b21c2 100644 --- a/packages/sealed_currencies/lib/src/translations/sar_currency.l10n.dart +++ b/packages/sealed_currencies/lib/src/translations/sar_currency.l10n.dart @@ -128,11 +128,7 @@ const sarCurrencyTranslations = [ TranslatedName(LangBen(), name: "সৌদি রিয়্যাল"), TranslatedName(LangBre(), name: "riyal Arabia Saoudat"), TranslatedName(LangBos(), name: "Saudijski rijal"), - TranslatedName( - LangBos(), - name: "Саудијски ријал", - script: ScriptCyrl(), - ), + TranslatedName(LangBos(), name: "Саудијски ријал", script: ScriptCyrl()), TranslatedName(LangCat(), name: "rial saudita"), TranslatedName(LangChe(), name: "СаӀудийн Аравин риал"), TranslatedName(LangCes(), name: "saúdský rijál"), diff --git a/packages/sealed_currencies/lib/src/translations/scr_currency.l10n.dart b/packages/sealed_currencies/lib/src/translations/scr_currency.l10n.dart index a79850d2..c8ca9233 100644 --- a/packages/sealed_currencies/lib/src/translations/scr_currency.l10n.dart +++ b/packages/sealed_currencies/lib/src/translations/scr_currency.l10n.dart @@ -128,11 +128,7 @@ const scrCurrencyTranslations = [ TranslatedName(LangBen(), name: "সেয়চেল্লোইস রুপি"), TranslatedName(LangBre(), name: "roupi Sechelez"), TranslatedName(LangBos(), name: "Sejšelska rupija"), - TranslatedName( - LangBos(), - name: "Сејшелска рупија", - script: ScriptCyrl(), - ), + TranslatedName(LangBos(), name: "Сејшелска рупија", script: ScriptCyrl()), TranslatedName(LangCat(), name: "rupia de les Seychelles"), TranslatedName(LangChe(), name: "Сейшелан рупи"), TranslatedName(LangCes(), name: "seychelská rupie"), diff --git a/packages/sealed_currencies/lib/src/translations/sdg_currency.l10n.dart b/packages/sealed_currencies/lib/src/translations/sdg_currency.l10n.dart index 575ded6b..360661ad 100644 --- a/packages/sealed_currencies/lib/src/translations/sdg_currency.l10n.dart +++ b/packages/sealed_currencies/lib/src/translations/sdg_currency.l10n.dart @@ -128,11 +128,7 @@ const sdgCurrencyTranslations = [ TranslatedName(LangBen(), name: "সুদানি পাউন্ড"), TranslatedName(LangBre(), name: "lur Soudan"), TranslatedName(LangBos(), name: "Sudanska funta"), - TranslatedName( - LangBos(), - name: "Суданска фунта", - script: ScriptCyrl(), - ), + TranslatedName(LangBos(), name: "Суданска фунта", script: ScriptCyrl()), TranslatedName(LangCat(), name: "lliura sudanesa"), TranslatedName(LangChe(), name: "Суданан фунт"), TranslatedName(LangCes(), name: "súdánská libra"), diff --git a/packages/sealed_currencies/lib/src/translations/sek_currency.l10n.dart b/packages/sealed_currencies/lib/src/translations/sek_currency.l10n.dart index d7a62990..ed15b089 100644 --- a/packages/sealed_currencies/lib/src/translations/sek_currency.l10n.dart +++ b/packages/sealed_currencies/lib/src/translations/sek_currency.l10n.dart @@ -118,11 +118,7 @@ const sekCurrencyTranslations = [ TranslatedName(LangBen(), name: "সুইডিশ ক্রোনা"), TranslatedName(LangBre(), name: "kurunenn Sveden"), TranslatedName(LangBos(), name: "Švedska kruna"), - TranslatedName( - LangBos(), - name: "Шведска круна", - script: ScriptCyrl(), - ), + TranslatedName(LangBos(), name: "Шведска круна", script: ScriptCyrl()), TranslatedName(LangCat(), name: "corona sueca"), TranslatedName(LangChe(), name: "Швецин крона"), TranslatedName(LangCes(), name: "švédská koruna"), diff --git a/packages/sealed_currencies/lib/src/translations/sgd_currency.l10n.dart b/packages/sealed_currencies/lib/src/translations/sgd_currency.l10n.dart index 13a90a68..9b80335e 100644 --- a/packages/sealed_currencies/lib/src/translations/sgd_currency.l10n.dart +++ b/packages/sealed_currencies/lib/src/translations/sgd_currency.l10n.dart @@ -116,11 +116,7 @@ const sgdCurrencyTranslations = [ TranslatedName(LangBen(), name: "সিঙ্গাপুর ডলার"), TranslatedName(LangBre(), name: "dollar Singapour"), TranslatedName(LangBos(), name: "Singapurski dolar"), - TranslatedName( - LangBos(), - name: "Сингапурски долар", - script: ScriptCyrl(), - ), + TranslatedName(LangBos(), name: "Сингапурски долар", script: ScriptCyrl()), TranslatedName(LangCat(), name: "dòlar de Singapur"), TranslatedName(LangChe(), name: "Сингапуран доллар"), TranslatedName(LangCes(), name: "singapurský dolar"), diff --git a/packages/sealed_currencies/lib/src/translations/sos_currency.l10n.dart b/packages/sealed_currencies/lib/src/translations/sos_currency.l10n.dart index ed417310..07efce0f 100644 --- a/packages/sealed_currencies/lib/src/translations/sos_currency.l10n.dart +++ b/packages/sealed_currencies/lib/src/translations/sos_currency.l10n.dart @@ -128,11 +128,7 @@ const sosCurrencyTranslations = [ TranslatedName(LangBen(), name: "সোমালি শিলিং"), TranslatedName(LangBre(), name: "shilling Somalia"), TranslatedName(LangBos(), name: "Somalski šiling"), - TranslatedName( - LangBos(), - name: "СОмалијски шилинг", - script: ScriptCyrl(), - ), + TranslatedName(LangBos(), name: "СОмалијски шилинг", script: ScriptCyrl()), TranslatedName(LangCat(), name: "xíling somali"), TranslatedName(LangChe(), name: "Сомалин шиллинг"), TranslatedName(LangCes(), name: "somálský šilink"), diff --git a/packages/sealed_currencies/lib/src/translations/srd_currency.l10n.dart b/packages/sealed_currencies/lib/src/translations/srd_currency.l10n.dart index 3948147f..23937d44 100644 --- a/packages/sealed_currencies/lib/src/translations/srd_currency.l10n.dart +++ b/packages/sealed_currencies/lib/src/translations/srd_currency.l10n.dart @@ -115,11 +115,7 @@ const srdCurrencyTranslations = [ TranslatedName(LangBen(), name: "সুরিনাম ডলার"), TranslatedName(LangBre(), name: "dollar Surinam"), TranslatedName(LangBos(), name: "Surinamski dolar"), - TranslatedName( - LangBos(), - name: "СУринамски долар", - script: ScriptCyrl(), - ), + TranslatedName(LangBos(), name: "СУринамски долар", script: ScriptCyrl()), TranslatedName(LangCat(), name: "dòlar de Surinam"), TranslatedName(LangChe(), name: "Суринаман доллар"), TranslatedName(LangCes(), name: "surinamský dolar"), @@ -197,11 +193,7 @@ const srdCurrencyTranslations = [ TranslatedName(LangUkr(), name: "суринамський долар"), TranslatedName(LangUrd(), name: "سورینامی ڈالر"), TranslatedName(LangUzb(), name: "Surinam dollari"), - TranslatedName( - LangUzb(), - name: "Суринам доллари", - script: ScriptCyrl(), - ), + TranslatedName(LangUzb(), name: "Суринам доллари", script: ScriptCyrl()), TranslatedName(LangVie(), name: "Đô la Suriname"), TranslatedName(LangZho(), name: "苏里南元"), TranslatedName(LangZho(), name: "蘇里南元", countryCode: "HK"), diff --git a/packages/sealed_currencies/lib/src/translations/svc_currency.l10n.dart b/packages/sealed_currencies/lib/src/translations/svc_currency.l10n.dart index 1fc580ed..72c58b86 100644 --- a/packages/sealed_currencies/lib/src/translations/svc_currency.l10n.dart +++ b/packages/sealed_currencies/lib/src/translations/svc_currency.l10n.dart @@ -99,11 +99,7 @@ const svcCurrencyTranslations = [ TranslatedName(LangBen(), name: "এল স্যালভোডোর কোলোন"), TranslatedName(LangBre(), name: "colón Salvador"), TranslatedName(LangBos(), name: "Salvadorski kolon"), - TranslatedName( - LangBos(), - name: "Салвадорски колон", - script: ScriptCyrl(), - ), + TranslatedName(LangBos(), name: "Салвадорски колон", script: ScriptCyrl()), TranslatedName(LangCat(), name: "colón salvadorenc"), TranslatedName(LangCes(), name: "salvadorský colón"), TranslatedName(LangCym(), name: "Colón El Salvador"), diff --git a/packages/sealed_currencies/lib/src/translations/syp_currency.l10n.dart b/packages/sealed_currencies/lib/src/translations/syp_currency.l10n.dart index bcd2e170..926dad70 100644 --- a/packages/sealed_currencies/lib/src/translations/syp_currency.l10n.dart +++ b/packages/sealed_currencies/lib/src/translations/syp_currency.l10n.dart @@ -116,11 +116,7 @@ const sypCurrencyTranslations = [ TranslatedName(LangBen(), name: "সিরিয়ান পাউন্ড"), TranslatedName(LangBre(), name: "lur Siria"), TranslatedName(LangBos(), name: "Sirijska funta"), - TranslatedName( - LangBos(), - name: "Сиријска фунта", - script: ScriptCyrl(), - ), + TranslatedName(LangBos(), name: "Сиријска фунта", script: ScriptCyrl()), TranslatedName(LangCat(), name: "lliura síria"), TranslatedName(LangChe(), name: "Шеман фунт"), TranslatedName(LangCes(), name: "syrská libra"), diff --git a/packages/sealed_currencies/lib/src/translations/szl_currency.l10n.dart b/packages/sealed_currencies/lib/src/translations/szl_currency.l10n.dart index a869f650..8934f3f6 100644 --- a/packages/sealed_currencies/lib/src/translations/szl_currency.l10n.dart +++ b/packages/sealed_currencies/lib/src/translations/szl_currency.l10n.dart @@ -128,11 +128,7 @@ const szlCurrencyTranslations = [ TranslatedName(LangBen(), name: "সোয়াজিল্যান্ড লিলাঙ্গেনি"), TranslatedName(LangBre(), name: "lilangeni Swaziland"), TranslatedName(LangBos(), name: "Svazilendski lilangeni"), - TranslatedName( - LangBos(), - name: "Свази лилангени", - script: ScriptCyrl(), - ), + TranslatedName(LangBos(), name: "Свази лилангени", script: ScriptCyrl()), TranslatedName(LangCat(), name: "lilangeni swazi"), TranslatedName(LangChe(), name: "Свазилендан лилангени"), TranslatedName(LangCes(), name: "svazijský lilangeni"), diff --git a/packages/sealed_currencies/lib/src/translations/thb_currency.l10n.dart b/packages/sealed_currencies/lib/src/translations/thb_currency.l10n.dart index d6f7d97c..5cd1664c 100644 --- a/packages/sealed_currencies/lib/src/translations/thb_currency.l10n.dart +++ b/packages/sealed_currencies/lib/src/translations/thb_currency.l10n.dart @@ -117,11 +117,7 @@ const thbCurrencyTranslations = [ TranslatedName(LangBen(), name: "থাই বাত"), TranslatedName(LangBre(), name: "baht Thailand"), TranslatedName(LangBos(), name: "Tajlandski baht"), - TranslatedName( - LangBos(), - name: "Таи бахт", - script: ScriptCyrl(), - ), + TranslatedName(LangBos(), name: "Таи бахт", script: ScriptCyrl()), TranslatedName(LangCat(), name: "baht tailandès"), TranslatedName(LangChe(), name: "Таиландан бат"), TranslatedName(LangCes(), name: "thajský baht"), @@ -200,11 +196,7 @@ const thbCurrencyTranslations = [ TranslatedName(LangUkr(), name: "таїландський бат"), TranslatedName(LangUrd(), name: "تھائی باہت"), TranslatedName(LangUzb(), name: "Tailand bati"), - TranslatedName( - LangUzb(), - name: "THB", - script: ScriptCyrl(), - ), + TranslatedName(LangUzb(), name: "THB", script: ScriptCyrl()), TranslatedName(LangVie(), name: "Bạt Thái Lan"), TranslatedName(LangZho(), name: "泰铢"), TranslatedName(LangZho(), name: "泰銖", script: ScriptHant()), diff --git a/packages/sealed_currencies/lib/src/translations/tnd_currency.l10n.dart b/packages/sealed_currencies/lib/src/translations/tnd_currency.l10n.dart index c820d211..72e625c8 100644 --- a/packages/sealed_currencies/lib/src/translations/tnd_currency.l10n.dart +++ b/packages/sealed_currencies/lib/src/translations/tnd_currency.l10n.dart @@ -128,11 +128,7 @@ const tndCurrencyTranslations = [ TranslatedName(LangBen(), name: "তিউনেশিয়ান দিনার"), TranslatedName(LangBre(), name: "dinar Tunizia"), TranslatedName(LangBos(), name: "Tuniški dinar"), - TranslatedName( - LangBos(), - name: "Тунизијски долар", - script: ScriptCyrl(), - ), + TranslatedName(LangBos(), name: "Тунизијски долар", script: ScriptCyrl()), TranslatedName(LangCat(), name: "dinar tunisià"), TranslatedName(LangChe(), name: "Тунисан динар"), TranslatedName(LangCes(), name: "tuniský dinár"), diff --git a/packages/sealed_currencies/lib/src/translations/top_currency.l10n.dart b/packages/sealed_currencies/lib/src/translations/top_currency.l10n.dart index a987f970..c944e7aa 100644 --- a/packages/sealed_currencies/lib/src/translations/top_currency.l10n.dart +++ b/packages/sealed_currencies/lib/src/translations/top_currency.l10n.dart @@ -116,11 +116,7 @@ const topCurrencyTranslations = [ TranslatedName(LangBen(), name: "টোঙ্গা পা’আঙ্গা"), TranslatedName(LangBre(), name: "paʻanga Tonga"), TranslatedName(LangBos(), name: "Tonganska panga"), - TranslatedName( - LangBos(), - name: "Тонгоншка Панга", - script: ScriptCyrl(), - ), + TranslatedName(LangBos(), name: "Тонгоншка Панга", script: ScriptCyrl()), TranslatedName(LangCat(), name: "pa‘anga tongà"), TranslatedName(LangChe(), name: "Тонганан паанга"), TranslatedName(LangCes(), name: "tonžská paanga"), diff --git a/packages/sealed_currencies/lib/src/translations/try_currency.l10n.dart b/packages/sealed_currencies/lib/src/translations/try_currency.l10n.dart index f1bc0f5a..4c9562fe 100644 --- a/packages/sealed_currencies/lib/src/translations/try_currency.l10n.dart +++ b/packages/sealed_currencies/lib/src/translations/try_currency.l10n.dart @@ -115,11 +115,7 @@ const tryCurrencyTranslations = [ TranslatedName(LangBen(), name: "তুর্কি লিরা"), TranslatedName(LangBre(), name: "lur Turkia"), TranslatedName(LangBos(), name: "Turska lira"), - TranslatedName( - LangBos(), - name: "Турска лира", - script: ScriptCyrl(), - ), + TranslatedName(LangBos(), name: "Турска лира", script: ScriptCyrl()), TranslatedName(LangCat(), name: "lira turca"), TranslatedName(LangChe(), name: "Туркойчоьнан лира"), TranslatedName(LangCes(), name: "turecká lira"), diff --git a/packages/sealed_currencies/lib/src/translations/twd_currency.l10n.dart b/packages/sealed_currencies/lib/src/translations/twd_currency.l10n.dart index 951a787d..ca0c9580 100644 --- a/packages/sealed_currencies/lib/src/translations/twd_currency.l10n.dart +++ b/packages/sealed_currencies/lib/src/translations/twd_currency.l10n.dart @@ -184,11 +184,7 @@ const twdCurrencyTranslations = [ TranslatedName(LangUkr(), name: "новий тайванський долар"), TranslatedName(LangUrd(), name: "نیو تائیوان ڈالر"), TranslatedName(LangUzb(), name: "Yangi Tayvan dollari"), - TranslatedName( - LangUzb(), - name: "TWD", - script: ScriptCyrl(), - ), + TranslatedName(LangUzb(), name: "TWD", script: ScriptCyrl()), TranslatedName(LangVie(), name: "Đô la Đài Loan mới"), TranslatedName(LangZho(), name: "新台币"), TranslatedName(LangZho(), name: "新台幣", countryCode: "HK"), diff --git a/packages/sealed_currencies/lib/src/translations/uah_currency.l10n.dart b/packages/sealed_currencies/lib/src/translations/uah_currency.l10n.dart index 006c518f..b0ff2da7 100644 --- a/packages/sealed_currencies/lib/src/translations/uah_currency.l10n.dart +++ b/packages/sealed_currencies/lib/src/translations/uah_currency.l10n.dart @@ -115,11 +115,7 @@ const uahCurrencyTranslations = [ TranslatedName(LangBen(), name: "ইউক্রেইন হৃভনিয়া"), TranslatedName(LangBre(), name: "hryvnia Ukraina"), TranslatedName(LangBos(), name: "Ukrajinska hrivnja"), - TranslatedName( - LangBos(), - name: "Украјинска хривња", - script: ScriptCyrl(), - ), + TranslatedName(LangBos(), name: "Украјинска хривња", script: ScriptCyrl()), TranslatedName(LangCat(), name: "hrívnia ucraïnesa"), TranslatedName(LangChe(), name: "Украинан гривна"), TranslatedName(LangCes(), name: "ukrajinská hřivna"), diff --git a/packages/sealed_currencies/lib/src/translations/ugx_currency.l10n.dart b/packages/sealed_currencies/lib/src/translations/ugx_currency.l10n.dart index d46e330c..5dcf4445 100644 --- a/packages/sealed_currencies/lib/src/translations/ugx_currency.l10n.dart +++ b/packages/sealed_currencies/lib/src/translations/ugx_currency.l10n.dart @@ -129,11 +129,7 @@ const ugxCurrencyTranslations = [ TranslatedName(LangBen(), name: "উগান্ডান শিলিং"), TranslatedName(LangBre(), name: "shilling Ouganda"), TranslatedName(LangBos(), name: "Ugandski šiling"), - TranslatedName( - LangBos(), - name: "Угандски шилинг", - script: ScriptCyrl(), - ), + TranslatedName(LangBos(), name: "Угандски шилинг", script: ScriptCyrl()), TranslatedName(LangCat(), name: "xíling ugandès"), TranslatedName(LangChe(), name: "Угандан шиллинг"), TranslatedName(LangCes(), name: "ugandský šilink"), diff --git a/packages/sealed_currencies/lib/src/translations/usd_currency.l10n.dart b/packages/sealed_currencies/lib/src/translations/usd_currency.l10n.dart index c28dbd69..23ec2dad 100644 --- a/packages/sealed_currencies/lib/src/translations/usd_currency.l10n.dart +++ b/packages/sealed_currencies/lib/src/translations/usd_currency.l10n.dart @@ -126,11 +126,7 @@ const usdCurrencyTranslations = [ TranslatedName(LangBod(), name: "ཨ་རིའི་སྒོར་"), TranslatedName(LangBre(), name: "dollar SU"), TranslatedName(LangBos(), name: "Američki dolar"), - TranslatedName( - LangBos(), - name: "Амерички долар", - script: ScriptCyrl(), - ), + TranslatedName(LangBos(), name: "Амерички долар", script: ScriptCyrl()), TranslatedName(LangCat(), name: "dòlar dels Estats Units"), TranslatedName(LangChe(), name: "АЦШн доллар"), TranslatedName(LangCes(), name: "americký dolar"), @@ -228,11 +224,7 @@ const usdCurrencyTranslations = [ TranslatedName(LangUkr(), name: "долар США"), TranslatedName(LangUrd(), name: "امریکی ڈالر"), TranslatedName(LangUzb(), name: "AQSH dollari"), - TranslatedName( - LangUzb(), - name: "АҚШ доллари", - script: ScriptCyrl(), - ), + TranslatedName(LangUzb(), name: "АҚШ доллари", script: ScriptCyrl()), TranslatedName(LangVie(), name: "Đô la Mỹ"), TranslatedName(LangYid(), name: "אמעריקאנער דאלאר"), TranslatedName(LangYor(), name: "Dọla ti Orílẹ́ède Amerika"), diff --git a/packages/sealed_currencies/lib/src/translations/uyu_currency.l10n.dart b/packages/sealed_currencies/lib/src/translations/uyu_currency.l10n.dart index e940c281..01639346 100644 --- a/packages/sealed_currencies/lib/src/translations/uyu_currency.l10n.dart +++ b/packages/sealed_currencies/lib/src/translations/uyu_currency.l10n.dart @@ -116,11 +116,7 @@ const uyuCurrencyTranslations = [ TranslatedName(LangBen(), name: "উরুগুয়ে পেসো"), TranslatedName(LangBre(), name: "peso Uruguay"), TranslatedName(LangBos(), name: "Urugvajski pezos"), - TranslatedName( - LangBos(), - name: "Уругвајски пезо", - script: ScriptCyrl(), - ), + TranslatedName(LangBos(), name: "Уругвајски пезо", script: ScriptCyrl()), TranslatedName(LangCat(), name: "peso uruguaià"), TranslatedName(LangChe(), name: "Уругвайн песо"), TranslatedName(LangCes(), name: "uruguayské peso"), @@ -198,11 +194,7 @@ const uyuCurrencyTranslations = [ TranslatedName(LangUkr(), name: "уругвайський песо"), TranslatedName(LangUrd(), name: "یوروگویان پیسو"), TranslatedName(LangUzb(), name: "Urugvay pesosi"), - TranslatedName( - LangUzb(), - name: "Уругвай песоси", - script: ScriptCyrl(), - ), + TranslatedName(LangUzb(), name: "Уругвай песоси", script: ScriptCyrl()), TranslatedName(LangVie(), name: "Peso Uruguay"), TranslatedName(LangZho(), name: "乌拉圭比索"), TranslatedName(LangZho(), name: "烏拉圭披索", script: ScriptHant()), diff --git a/packages/sealed_currencies/lib/src/translations/uzs_currency.l10n.dart b/packages/sealed_currencies/lib/src/translations/uzs_currency.l10n.dart index 0c294b78..19a90509 100644 --- a/packages/sealed_currencies/lib/src/translations/uzs_currency.l10n.dart +++ b/packages/sealed_currencies/lib/src/translations/uzs_currency.l10n.dart @@ -116,11 +116,7 @@ const uzsCurrencyTranslations = [ TranslatedName(LangBen(), name: "উজবেকিস্তানি সোম"), TranslatedName(LangBre(), name: "som Ouzbekistan"), TranslatedName(LangBos(), name: "Uzbekistanski som"), - TranslatedName( - LangBos(), - name: "Узбекистански сом", - script: ScriptCyrl(), - ), + TranslatedName(LangBos(), name: "Узбекистански сом", script: ScriptCyrl()), TranslatedName(LangCat(), name: "som uzbek"), TranslatedName(LangChe(), name: "Узбекистанан сум"), TranslatedName(LangCes(), name: "uzbecký sum"), @@ -199,11 +195,7 @@ const uzsCurrencyTranslations = [ TranslatedName(LangUkr(), name: "узбецький сум"), TranslatedName(LangUrd(), name: "ازبکستان سوم"), TranslatedName(LangUzb(), name: "O‘zbekiston so‘mi"), - TranslatedName( - LangUzb(), - name: "Ўзбекистон сўм", - script: ScriptCyrl(), - ), + TranslatedName(LangUzb(), name: "Ўзбекистон сўм", script: ScriptCyrl()), TranslatedName(LangVie(), name: "Som Uzbekistan"), TranslatedName(LangZho(), name: "乌兹别克斯坦苏姆"), TranslatedName(LangZho(), name: "烏茲別克索姆", script: ScriptHant()), diff --git a/packages/sealed_currencies/lib/src/translations/vnd_currency.l10n.dart b/packages/sealed_currencies/lib/src/translations/vnd_currency.l10n.dart index 969398eb..d18dc8ba 100644 --- a/packages/sealed_currencies/lib/src/translations/vnd_currency.l10n.dart +++ b/packages/sealed_currencies/lib/src/translations/vnd_currency.l10n.dart @@ -103,11 +103,7 @@ const vndCurrencyTranslations = [ TranslatedName(LangBen(), name: "ভিয়েতনামি ডঙ্গ"), TranslatedName(LangBre(), name: "dong Viêt Nam"), TranslatedName(LangBos(), name: "Vijetnamski dong"), - TranslatedName( - LangBos(), - name: "Вијетнамски донг", - script: ScriptCyrl(), - ), + TranslatedName(LangBos(), name: "Вијетнамски донг", script: ScriptCyrl()), TranslatedName(LangCat(), name: "dong vietnamita"), TranslatedName(LangChe(), name: "Вьетнаман донг"), TranslatedName(LangCes(), name: "vietnamský dong"), @@ -184,11 +180,7 @@ const vndCurrencyTranslations = [ TranslatedName(LangUkr(), name: "вʼєтнамський донг"), TranslatedName(LangUrd(), name: "ویتنامی ڈانگ"), TranslatedName(LangUzb(), name: "Vyetnam dongi"), - TranslatedName( - LangUzb(), - name: "VND", - script: ScriptCyrl(), - ), + TranslatedName(LangUzb(), name: "VND", script: ScriptCyrl()), TranslatedName(LangVie(), name: "Đồng Việt Nam"), TranslatedName(LangZho(), name: "越南盾"), TranslatedName(LangZul(), name: "i-Vietnamese Dong"), diff --git a/packages/sealed_currencies/lib/src/translations/vuv_currency.l10n.dart b/packages/sealed_currencies/lib/src/translations/vuv_currency.l10n.dart index 2b377885..54b44b8e 100644 --- a/packages/sealed_currencies/lib/src/translations/vuv_currency.l10n.dart +++ b/packages/sealed_currencies/lib/src/translations/vuv_currency.l10n.dart @@ -116,11 +116,7 @@ const vuvCurrencyTranslations = [ TranslatedName(LangBen(), name: "ভানুয়াতু ভাতু"), TranslatedName(LangBre(), name: "vatu Vanuatu"), TranslatedName(LangBos(), name: "Vanuatski vatu"), - TranslatedName( - LangBos(), - name: "Вануатски вату", - script: ScriptCyrl(), - ), + TranslatedName(LangBos(), name: "Вануатски вату", script: ScriptCyrl()), TranslatedName(LangCat(), name: "vatu de Vanuatu"), TranslatedName(LangChe(), name: "Вануатун вату"), TranslatedName(LangCes(), name: "vanuatský vatu"), diff --git a/packages/sealed_currencies/lib/src/translations/wst_currency.l10n.dart b/packages/sealed_currencies/lib/src/translations/wst_currency.l10n.dart index c071af7b..a1b9cda4 100644 --- a/packages/sealed_currencies/lib/src/translations/wst_currency.l10n.dart +++ b/packages/sealed_currencies/lib/src/translations/wst_currency.l10n.dart @@ -116,11 +116,7 @@ const wstCurrencyTranslations = [ TranslatedName(LangBen(), name: "সামোয়ান টালা"), TranslatedName(LangBre(), name: "tala Samoa"), TranslatedName(LangBos(), name: "Samoanska tala"), - TranslatedName( - LangBos(), - name: "Самоанска тала", - script: ScriptCyrl(), - ), + TranslatedName(LangBos(), name: "Самоанска тала", script: ScriptCyrl()), TranslatedName(LangCat(), name: "tala samoà"), TranslatedName(LangChe(), name: "Самоанан тала"), TranslatedName(LangCes(), name: "samojská tala"), diff --git a/packages/sealed_currencies/lib/src/translations/xaf_currency.l10n.dart b/packages/sealed_currencies/lib/src/translations/xaf_currency.l10n.dart index 5076ab27..a6c51546 100644 --- a/packages/sealed_currencies/lib/src/translations/xaf_currency.l10n.dart +++ b/packages/sealed_currencies/lib/src/translations/xaf_currency.l10n.dart @@ -118,11 +118,7 @@ const xafCurrencyTranslations = [ TranslatedName(LangBen(), name: "মধ্য আফ্রিকান [CFA] ফ্র্যাঙ্ক"), TranslatedName(LangBre(), name: "lur CFA Kreizafrika"), TranslatedName(LangBos(), name: "Centralnoafrički franak (CFA)"), - TranslatedName( - LangBos(), - name: "CFA франак BEAC", - script: ScriptCyrl(), - ), + TranslatedName(LangBos(), name: "CFA франак BEAC", script: ScriptCyrl()), TranslatedName(LangCat(), name: "franc CFA BEAC"), TranslatedName(LangChe(), name: "Юккъерчу Африкан КФА франк"), TranslatedName(LangCes(), name: "CFA/BEAC frank"), @@ -214,11 +210,7 @@ const xafCurrencyTranslations = [ TranslatedName(LangUkr(), name: "центральноафриканський франк"), TranslatedName(LangUrd(), name: "وسطی افریقی [CFA] فرانک"), TranslatedName(LangUzb(), name: "Markaziy Afrika CFA franki"), - TranslatedName( - LangUzb(), - name: "XAF", - script: ScriptCyrl(), - ), + TranslatedName(LangUzb(), name: "XAF", script: ScriptCyrl()), TranslatedName(LangVie(), name: "Franc CFA Trung Phi"), TranslatedName(LangYor(), name: "Faransi ti Orílẹ́ède BEKA"), TranslatedName( diff --git a/packages/sealed_currencies/lib/src/translations/xof_currency.l10n.dart b/packages/sealed_currencies/lib/src/translations/xof_currency.l10n.dart index 7679604b..e42bf6b2 100644 --- a/packages/sealed_currencies/lib/src/translations/xof_currency.l10n.dart +++ b/packages/sealed_currencies/lib/src/translations/xof_currency.l10n.dart @@ -115,11 +115,7 @@ const xofCurrencyTranslations = [ TranslatedName(LangBen(), name: "পশ্চিম আফ্রিকান [CFA] ফ্র্যাঙ্ক"), TranslatedName(LangBre(), name: "lur CFA Afrika ar Cʼhornôg"), TranslatedName(LangBos(), name: "Zapadnoafrički franak (CFA)"), - TranslatedName( - LangBos(), - name: "CFA франак BCEAO", - script: ScriptCyrl(), - ), + TranslatedName(LangBos(), name: "CFA франак BCEAO", script: ScriptCyrl()), TranslatedName(LangCat(), name: "franc CFA BCEAO"), TranslatedName(LangChe(), name: "Малхбузен Африкан КФА франк"), TranslatedName(LangCes(), name: "CFA/BCEAO frank"), @@ -210,11 +206,7 @@ const xofCurrencyTranslations = [ TranslatedName(LangUkr(), name: "західноафриканський франк"), TranslatedName(LangUrd(), name: "مغربی افریقی [CFA] فرانک"), TranslatedName(LangUzb(), name: "G‘arbiy Afrika CFA franki"), - TranslatedName( - LangUzb(), - name: "XOF", - script: ScriptCyrl(), - ), + TranslatedName(LangUzb(), name: "XOF", script: ScriptCyrl()), TranslatedName(LangVie(), name: "Franc CFA Tây Phi"), TranslatedName(LangYor(), name: "Faransi ti Orílẹ́ède BIKEAO"), TranslatedName( diff --git a/packages/sealed_currencies/lib/src/translations/xpf_currency.l10n.dart b/packages/sealed_currencies/lib/src/translations/xpf_currency.l10n.dart index 6b17834d..658a7352 100644 --- a/packages/sealed_currencies/lib/src/translations/xpf_currency.l10n.dart +++ b/packages/sealed_currencies/lib/src/translations/xpf_currency.l10n.dart @@ -103,11 +103,7 @@ const xpfCurrencyTranslations = [ TranslatedName(LangBen(), name: "সিএফপি ফ্র্যাঙ্ক"), TranslatedName(LangBre(), name: "lur CFP"), TranslatedName(LangBos(), name: "Franak (CFP)"), - TranslatedName( - LangBos(), - name: "CFP франак", - script: ScriptCyrl(), - ), + TranslatedName(LangBos(), name: "CFP франак", script: ScriptCyrl()), TranslatedName(LangCat(), name: "franc CFP"), TranslatedName(LangChe(), name: "Французийн Тийна океанан франк"), TranslatedName(LangCes(), name: "CFP frank"), @@ -186,11 +182,7 @@ const xpfCurrencyTranslations = [ TranslatedName(LangUkr(), name: "французький тихоокеанський франк"), TranslatedName(LangUrd(), name: "CFP فرانک"), TranslatedName(LangUzb(), name: "Fransuz Polineziyasi franki"), - TranslatedName( - LangUzb(), - name: "XPF", - script: ScriptCyrl(), - ), + TranslatedName(LangUzb(), name: "XPF", script: ScriptCyrl()), TranslatedName(LangVie(), name: "Franc CFP"), TranslatedName(LangZho(), name: "太平洋法郎"), TranslatedName(LangZho(), name: "法郎 (CFP)", script: ScriptHant()), diff --git a/packages/sealed_currencies/lib/src/translations/yer_currency.l10n.dart b/packages/sealed_currencies/lib/src/translations/yer_currency.l10n.dart index 18997f84..0cfae04a 100644 --- a/packages/sealed_currencies/lib/src/translations/yer_currency.l10n.dart +++ b/packages/sealed_currencies/lib/src/translations/yer_currency.l10n.dart @@ -115,11 +115,7 @@ const yerCurrencyTranslations = [ TranslatedName(LangBen(), name: "ইয়েমেনি রিয়াল"), TranslatedName(LangBre(), name: "rial Yemen"), TranslatedName(LangBos(), name: "Jemenski rijal"), - TranslatedName( - LangBos(), - name: "Јеменски риал", - script: ScriptCyrl(), - ), + TranslatedName(LangBos(), name: "Јеменски риал", script: ScriptCyrl()), TranslatedName(LangCat(), name: "rial iemenita"), TranslatedName(LangChe(), name: "Йеменан риал"), TranslatedName(LangCes(), name: "jemenský rijál"), diff --git a/packages/sealed_currencies/lib/src/translations/zmw_currency.l10n.dart b/packages/sealed_currencies/lib/src/translations/zmw_currency.l10n.dart index 24a8f36d..baa87f59 100644 --- a/packages/sealed_currencies/lib/src/translations/zmw_currency.l10n.dart +++ b/packages/sealed_currencies/lib/src/translations/zmw_currency.l10n.dart @@ -128,11 +128,7 @@ const zmwCurrencyTranslations = [ TranslatedName(LangBen(), name: "জাম্বিয়ান কওয়াচা"), TranslatedName(LangBre(), name: "kwacha Zambia"), TranslatedName(LangBos(), name: "Zambijska kvača"), - TranslatedName( - LangBos(), - name: "Замбијска квача", - script: ScriptCyrl(), - ), + TranslatedName(LangBos(), name: "Замбијска квача", script: ScriptCyrl()), TranslatedName(LangCat(), name: "kwacha zambià"), TranslatedName(LangChe(), name: "Замбин квача"), TranslatedName(LangCes(), name: "zambijská kwacha"), diff --git a/packages/sealed_currencies/pubspec.yaml b/packages/sealed_currencies/pubspec.yaml index 5f52ee81..ccc4b0b6 100644 --- a/packages/sealed_currencies/pubspec.yaml +++ b/packages/sealed_currencies/pubspec.yaml @@ -26,8 +26,9 @@ dependencies: dev_dependencies: _sealed_world_tests: path: ../_sealed_world_tests - build_runner: ^2.4.9 # From Google - coverage: ^1.7.2 # From Google - dart_code_linter: ^1.1.3 # Ex-DCM. - lints: ^4.0.0 # From Google - test: ^1.25.4 # From Google + build_runner: ^2.4.13 # From Google + coverage: ^1.9.2 # From Google + dart_code_linter: ^1.1.5 # Ex-DCM. + dart_code_metrics_presets: ^2.17.0 + lints: ^5.0.0 # From Google + test: ^1.25.8 # From Google diff --git a/packages/sealed_currencies/test/src/helpers/fiat_currency/fiat_currency_format_test.dart b/packages/sealed_currencies/test/src/helpers/fiat_currency/fiat_currency_format_test.dart index 9da960f3..81292f77 100644 --- a/packages/sealed_currencies/test/src/helpers/fiat_currency/fiat_currency_format_test.dart +++ b/packages/sealed_currencies/test/src/helpers/fiat_currency/fiat_currency_format_test.dart @@ -69,22 +69,10 @@ void main() => group("FiatCurrencyFormat", () { valueWithoutDot.format(-1000), "${valueWithoutDot.unit} -1.000", ); - expect( - valueWithoutDot.format(0), - "${valueWithoutDot.unit} 0", - ); - expect( - valueWithoutDot.format(1), - "${valueWithoutDot.unit} 1", - ); - expect( - valueWithoutDot.format(10), - "${valueWithoutDot.unit} 10", - ); - expect( - valueWithoutDot.format(100), - "${valueWithoutDot.unit} 100", - ); + expect(valueWithoutDot.format(0), "${valueWithoutDot.unit} 0"); + expect(valueWithoutDot.format(1), "${valueWithoutDot.unit} 1"); + expect(valueWithoutDot.format(10), "${valueWithoutDot.unit} 10"); + expect(valueWithoutDot.format(100), "${valueWithoutDot.unit} 100"); expect( valueWithoutDot.format(1000), "${valueWithoutDot.unit} 1.000", diff --git a/packages/sealed_currencies/test/src/helpers/fiat_currency/fiat_currency_getters_test.dart b/packages/sealed_currencies/test/src/helpers/fiat_currency/fiat_currency_getters_test.dart index a8039ffb..108fbae9 100644 --- a/packages/sealed_currencies/test/src/helpers/fiat_currency/fiat_currency_getters_test.dart +++ b/packages/sealed_currencies/test/src/helpers/fiat_currency/fiat_currency_getters_test.dart @@ -21,10 +21,10 @@ void main() => group("FiatCurrencyGetters", () { }); test("as code", () { - final valueWithoutSymbol = FiatCurrency.list.firstWhere( + final withSymbol = FiatCurrency.list.firstWhere( (currency) => currency.symbol == null, ); - expect(valueWithoutSymbol.unit, valueWithoutSymbol.code); + expect(withSymbol.unit, withSymbol.code); }); }); }); diff --git a/packages/sealed_currencies/test/src/model/currency/submodels/fiat_currency_test.dart b/packages/sealed_currencies/test/src/model/currency/submodels/fiat_currency_test.dart index c2522792..ab918786 100644 --- a/packages/sealed_currencies/test/src/model/currency/submodels/fiat_currency_test.dart +++ b/packages/sealed_currencies/test/src/model/currency/submodels/fiat_currency_test.dart @@ -43,11 +43,11 @@ void main() => group("$FiatCurrency", () { expect(element.internationalName, element.name); expect(element.namesNative, isA>()); expect(element.namesNative, isNotEmpty); - if (element.alternateSymbols != null) { + if (element.alternateSymbols == null) { + expect(element.alternateSymbols, isNull); + } else { expect(element.alternateSymbols, isA>()); expect(element.alternateSymbols, isNotEmpty); - } else { - expect(element.alternateSymbols, isNull); } expect(element.disambiguateSymbol, isA()); expect( @@ -94,10 +94,7 @@ void main() => group("$FiatCurrency", () { test("basic", () { expect(FiatCurrency.list.first, isNot(equals(value))); expect(FiatCurrency.list.last, same(value)); - expect( - FiatCurrency.fromName(value.name), - same(value), - ); + expect(FiatCurrency.fromName(value.name), same(value)); expect( FiatCurrency.fromName(FiatCurrency.list.last.name), same(FiatCurrency.list.last), @@ -313,47 +310,41 @@ void main() => group("$FiatCurrency", () { group("toJson", () { for (final element in FiatCurrency.list) { - test( - "compared to $FiatCurrency: ${element.name}", - () { - final json = element.toJson(); - expect(json, isNotEmpty); - final decoded = json.tryParse(FiatCurrencyJson.fromMap); - expect( - decoded?.toString(short: false), - json.parse(FiatCurrencyJson.fromMap).toString(short: false), - ); - expect(element.code, decoded?.code); - expect(element.name, decoded?.name); - expect(element.codeNumeric, decoded?.codeNumeric); - expect(element.namesNative, decoded?.namesNative); - expect(element.alternateSymbols, decoded?.alternateSymbols); - expect(element.htmlEntity, decoded?.htmlEntity); - expect(element.disambiguateSymbol, decoded?.disambiguateSymbol); - expect(element.subunit, decoded?.subunit); - expect(element.symbol, decoded?.symbol); - expect(element.priority, decoded?.priority); - expect( - element.smallestDenomination, - decoded?.smallestDenomination, - ); - expect(element.subunitToUnit, decoded?.subunitToUnit); - expect(element.unitFirst, decoded?.unitFirst); - expect(element.decimalMark, decoded?.decimalMark); - expect(element.thousandsSeparator, decoded?.thousandsSeparator); - expect(element.translations, decoded?.translations); - }, - ); + test("compared to $FiatCurrency: ${element.name}", () { + final json = element.toJson(); + expect(json, isNotEmpty); + final decoded = json.tryParse(FiatCurrencyJson.fromMap); + expect( + decoded?.toString(short: false), + json.parse(FiatCurrencyJson.fromMap).toString(short: false), + ); + expect(element.code, decoded?.code); + expect(element.name, decoded?.name); + expect(element.codeNumeric, decoded?.codeNumeric); + expect(element.namesNative, decoded?.namesNative); + expect(element.alternateSymbols, decoded?.alternateSymbols); + expect(element.htmlEntity, decoded?.htmlEntity); + expect(element.disambiguateSymbol, decoded?.disambiguateSymbol); + expect(element.subunit, decoded?.subunit); + expect(element.symbol, decoded?.symbol); + expect(element.priority, decoded?.priority); + expect( + element.smallestDenomination, + decoded?.smallestDenomination, + ); + expect(element.subunitToUnit, decoded?.subunitToUnit); + expect(element.unitFirst, decoded?.unitFirst); + expect(element.decimalMark, decoded?.decimalMark); + expect(element.thousandsSeparator, decoded?.thousandsSeparator); + expect(element.translations, decoded?.translations); + }); } }); group("maybeFromValue", () { performanceTest( "with proper value, without where", - () => expect( - FiatCurrency.maybeFromValue(value.code), - value, - ), + () => expect(FiatCurrency.maybeFromValue(value.code), value), ); performanceTest( @@ -369,10 +360,7 @@ void main() => group("$FiatCurrency", () { performanceTest( "with wrong value, without where", - () => expect( - FiatCurrency.maybeFromValue(value), - isNull, - ), + () => expect(FiatCurrency.maybeFromValue(value), isNull), ); performanceTest( @@ -728,19 +716,16 @@ void main() => group("$FiatCurrency", () { test("translation should always provide at least eng translation", () { const abkhazia = LangAbk(); const nonExistCode = "000"; - var count = 0; - for (final value in FiatCurrency.list) { - final maybeMissing = value.maybeTranslation( - const BasicLocale( - abkhazia, - countryCode: nonExistCode, - ), + int count = 0; + for (final currency in FiatCurrency.list) { + final maybeMissing = currency.maybeTranslation( + const BasicLocale(abkhazia, countryCode: nonExistCode), useLanguageFallback: false, ); if (maybeMissing != null) continue; - count++; + count += 1; expect( - value.translation( + currency.translation( const BasicLocale(abkhazia, countryCode: nonExistCode), ), isNotNull, @@ -755,10 +740,12 @@ void main() => group("$FiatCurrency", () { }; for (final l10n in NaturalLanguage.list) { - for (final value in FiatCurrency.list) { + for (final currency in FiatCurrency.list) { final hasTranslationForValue = - value.maybeTranslation(BasicLocale(l10n)); - if (hasTranslationForValue != null) map[value] = map[value]! + 1; + currency.maybeTranslation(BasicLocale(l10n)); + if (hasTranslationForValue != null) { + map[currency] = map[currency]! + 1; + } } } @@ -775,12 +762,12 @@ void main() => group("$FiatCurrency", () { final missing = >{}; for (final l10n in NaturalLanguage.list) { - for (final value in FiatCurrency.list) { - final translation = value.maybeTranslation(BasicLocale(l10n)); - if (translation != null) { - map[l10n] = map[l10n]! + 1; + for (final currency in FiatCurrency.list) { + final translation = currency.maybeTranslation(BasicLocale(l10n)); + if (translation == null) { + missing[l10n] = {...?missing[l10n], currency}; } else { - missing[l10n] = {...?missing[l10n], value}; + map[l10n] = map[l10n]! + 1; } } } diff --git a/packages/sealed_languages/README.md b/packages/sealed_languages/README.md index 8b540020..a6845771 100644 --- a/packages/sealed_languages/README.md +++ b/packages/sealed_languages/README.md @@ -90,7 +90,8 @@ Use `NaturalLanguage` class to get information about languages. Either construct // Prints Slovak translations of all available languages. for (final language in NaturalLanguage.list) { print( - """Slovak name of ${language.name}: ${language.maybeTranslation(const BasicLocale(LangSlk()))?.name}""", + "Slovak name of ${language.name}: " + "${language.maybeTranslation(const BasicLocale(LangSlk()))?.name}", ); } ``` diff --git a/packages/sealed_languages/example/lib/main.dart b/packages/sealed_languages/example/lib/main.dart index 7d5c064b..641e2d12 100644 --- a/packages/sealed_languages/example/lib/main.dart +++ b/packages/sealed_languages/example/lib/main.dart @@ -38,7 +38,7 @@ void main() { print("Native name: ${maybeCzech?.namesNative.first}"); // Contains functional style methods (when, whenOrNull, map, etc). - print(maybeCzech?.maybeWhen(langCes: () => "Ahoj!", orElse: () => "Hey!")); + print(maybeCzech?.maybeWhen(orElse: () => "Hey!", langCes: () => "Ahoj!")); print(NaturalLanguage.list.length); // Prints: "184". @@ -47,14 +47,15 @@ void main() { // Prints Slovak translations of all available languages. for (final language in NaturalLanguage.list) { print( - """Slovak name of ${language.name}: ${language.maybeTranslation(const BasicLocale(LangSlk()))?.name}""", + "Slovak name of ${language.name}: " + "${language.maybeTranslation(const BasicLocale(LangSlk()))?.name}", ); } // Distinguishes country code in translations. print( maybeCzech?.maybeTranslation(const BasicLocale(LangPor()))?.name, - ); // Prints tcheco. + ); // Prints "tcheco". print( maybeCzech ?.maybeTranslation(const BasicLocale(LangPor(), countryCode: "PT")) diff --git a/packages/sealed_languages/lib/src/collections/natural_language_collections.dart b/packages/sealed_languages/lib/src/collections/natural_language_collections.dart index 91d7907a..db13d796 100644 --- a/packages/sealed_languages/lib/src/collections/natural_language_collections.dart +++ b/packages/sealed_languages/lib/src/collections/natural_language_collections.dart @@ -382,173 +382,173 @@ const naturalLanguageCodeMap = { const naturalLanguageCodeOtherMap = { "AA": LangAar(), "AB": LangAbk(), + "AE": LangAve(), "AF": LangAfr(), "AK": LangAka(), "AM": LangAmh(), - "AR": LangAra(), "AN": LangArg(), + "AR": LangAra(), "AS": LangAsm(), "AV": LangAva(), - "AE": LangAve(), "AY": LangAym(), "AZ": LangAze(), "BA": LangBak(), - "BM": LangBam(), "BE": LangBel(), - "BN": LangBen(), + "BG": LangBul(), "BH": LangBih(), "BI": LangBis(), + "BM": LangBam(), + "BN": LangBen(), "BO": LangBod(), - "BS": LangBos(), "BR": LangBre(), - "BG": LangBul(), + "BS": LangBos(), "CA": LangCat(), - "CS": LangCes(), - "CH": LangCha(), "CE": LangChe(), - "CU": LangChu(), - "CV": LangChv(), - "KW": LangCor(), + "CH": LangCha(), "CO": LangCos(), "CR": LangCre(), + "CS": LangCes(), + "CU": LangChu(), + "CV": LangChv(), "CY": LangCym(), "DA": LangDan(), "DE": LangDeu(), "DV": LangDiv(), "DZ": LangDzo(), + "EE": LangEwe(), "EL": LangEll(), "EN": LangEng(), "EO": LangEpo(), + "ES": LangSpa(), "ET": LangEst(), "EU": LangEus(), - "EE": LangEwe(), - "FO": LangFao(), "FA": LangFas(), - "FJ": LangFij(), + "FF": LangFul(), "FI": LangFin(), + "FJ": LangFij(), + "FO": LangFao(), "FR": LangFra(), "FY": LangFry(), - "FF": LangFul(), - "GD": LangGla(), "GA": LangGle(), + "GD": LangGla(), "GL": LangGlg(), - "GV": LangGlv(), "GN": LangGrn(), "GU": LangGuj(), - "HT": LangHat(), + "GV": LangGlv(), "HA": LangHau(), "HE": LangHeb(), - "HZ": LangHer(), "HI": LangHin(), "HO": LangHmo(), "HR": LangHrv(), + "HT": LangHat(), "HU": LangHun(), "HY": LangHye(), - "IG": LangIbo(), - "IO": LangIdo(), - "II": LangIii(), - "IU": LangIku(), - "IE": LangIle(), + "HZ": LangHer(), "IA": LangIna(), "ID": LangInd(), + "IE": LangIle(), + "IG": LangIbo(), + "II": LangIii(), "IK": LangIpk(), + "IO": LangIdo(), "IS": LangIsl(), "IT": LangIta(), - "JV": LangJav(), + "IU": LangIku(), "JA": LangJpn(), - "KL": LangKal(), - "KN": LangKan(), - "KS": LangKas(), + "JV": LangJav(), "KA": LangKat(), - "KR": LangKau(), + "KG": LangKon(), + "KI": LangKik(), + "KJ": LangKua(), "KK": LangKaz(), + "KL": LangKal(), "KM": LangKhm(), - "KI": LangKik(), - "RW": LangKin(), - "KY": LangKir(), - "KV": LangKom(), - "KG": LangKon(), + "KN": LangKan(), "KO": LangKor(), - "KJ": LangKua(), + "KR": LangKau(), + "KS": LangKas(), "KU": LangKur(), - "LO": LangLao(), + "KV": LangKom(), + "KW": LangCor(), + "KY": LangKir(), "LA": LangLat(), - "LV": LangLav(), + "LB": LangLtz(), + "LG": LangLug(), "LI": LangLim(), "LN": LangLin(), + "LO": LangLao(), "LT": LangLit(), - "LB": LangLtz(), "LU": LangLub(), - "LG": LangLug(), + "LV": LangLav(), + "MG": LangMlg(), "MH": LangMah(), - "ML": LangMal(), - "MR": LangMar(), + "MI": LangMri(), "MK": LangMkd(), - "MG": LangMlg(), - "MT": LangMlt(), + "ML": LangMal(), "MN": LangMon(), - "MI": LangMri(), + "MR": LangMar(), "MS": LangMsa(), + "MT": LangMlt(), "MY": LangMya(), "NA": LangNau(), - "NV": LangNav(), - "NR": LangNbl(), + "NB": LangNob(), "ND": LangNde(), - "NG": LangNdo(), "NE": LangNep(), + "NG": LangNdo(), "NL": LangNld(), "NN": LangNno(), - "NB": LangNob(), "NO": LangNor(), + "NR": LangNbl(), + "NV": LangNav(), "NY": LangNya(), "OC": LangOci(), "OJ": LangOji(), - "OR": LangOri(), "OM": LangOrm(), + "OR": LangOri(), "OS": LangOss(), "PA": LangPan(), "PI": LangPli(), "PL": LangPol(), - "PT": LangPor(), "PS": LangPus(), + "PT": LangPor(), "QU": LangQue(), "RM": LangRoh(), - "RO": LangRon(), "RN": LangRun(), + "RO": LangRon(), "RU": LangRus(), - "SG": LangSag(), + "RW": LangKin(), "SA": LangSan(), + "SC": LangSrd(), + "SD": LangSnd(), + "SE": LangSme(), + "SG": LangSag(), "SI": LangSin(), "SK": LangSlk(), "SL": LangSlv(), - "SE": LangSme(), "SM": LangSmo(), "SN": LangSna(), - "SD": LangSnd(), "SO": LangSom(), - "ST": LangSot(), - "ES": LangSpa(), "SQ": LangSqi(), - "SC": LangSrd(), "SR": LangSrp(), "SS": LangSsw(), + "ST": LangSot(), "SU": LangSun(), - "SW": LangSwa(), "SV": LangSwe(), - "TY": LangTah(), + "SW": LangSwa(), "TA": LangTam(), - "TT": LangTat(), "TE": LangTel(), "TG": LangTgk(), - "TL": LangTgl(), "TH": LangTha(), "TI": LangTir(), - "TO": LangTon(), - "TN": LangTsn(), - "TS": LangTso(), "TK": LangTuk(), + "TL": LangTgl(), + "TN": LangTsn(), + "TO": LangTon(), "TR": LangTur(), + "TS": LangTso(), + "TT": LangTat(), "TW": LangTwi(), + "TY": LangTah(), "UG": LangUig(), "UK": LangUkr(), "UR": LangUrd(), diff --git a/packages/sealed_languages/lib/src/collections/script_collections.dart b/packages/sealed_languages/lib/src/collections/script_collections.dart index 2595d144..dc57d5ff 100644 --- a/packages/sealed_languages/lib/src/collections/script_collections.dart +++ b/packages/sealed_languages/lib/src/collections/script_collections.dart @@ -438,215 +438,215 @@ const scriptCodeMap = { /// Map of [Script] other codes. const scriptCodeOtherMap = { - "166": ScriptAdlm(), - "439": ScriptAfak(), - "239": ScriptAghb(), - "338": ScriptAhom(), - "160": ScriptArab(), - "161": ScriptAran(), + "015": ScriptPcun(), + "016": ScriptPelm(), + "020": ScriptXsux(), + "030": ScriptXpeo(), + "040": ScriptUgar(), + "050": ScriptEgyp(), + "060": ScriptEgyh(), + "070": ScriptEgyd(), + "080": ScriptHluw(), + "085": ScriptNkdb(), + "090": ScriptMaya(), + "095": ScriptSgnw(), + "100": ScriptMero(), + "101": ScriptMerc(), + "103": ScriptPsin(), + "105": ScriptSarb(), + "106": ScriptNarb(), + "109": ScriptChrs(), + "115": ScriptPhnx(), + "116": ScriptLydi(), + "120": ScriptTfng(), + "123": ScriptSamr(), "124": ScriptArmi(), - "230": ScriptArmn(), + "125": ScriptHebr(), + "126": ScriptPalm(), + "127": ScriptHatr(), + "128": ScriptElym(), + "130": ScriptPrti(), + "131": ScriptPhli(), + "132": ScriptPhlp(), + "133": ScriptPhlv(), "134": ScriptAvst(), - "360": ScriptBali(), - "435": ScriptBamu(), - "259": ScriptBass(), - "365": ScriptBatk(), - "325": ScriptBeng(), - "334": ScriptBhks(), - "550": ScriptBlis(), - "285": ScriptBopo(), - "300": ScriptBrah(), - "570": ScriptBrai(), - "367": ScriptBugi(), - "372": ScriptBuhd(), - "349": ScriptCakm(), - "440": ScriptCans(), + "135": ScriptSyrc(), + "136": ScriptSyrn(), + "137": ScriptSyrj(), + "138": ScriptSyre(), + "139": ScriptMani(), + "140": ScriptMand(), + "141": ScriptSogd(), + "142": ScriptSogo(), + "143": ScriptOugr(), + "145": ScriptMong(), + "159": ScriptNbat(), + "160": ScriptArab(), + "161": ScriptAran(), + "165": ScriptNkoo(), + "166": ScriptAdlm(), + "167": ScriptRohg(), + "170": ScriptThaa(), + "175": ScriptOrkh(), + "176": ScriptHung(), + "192": ScriptYezi(), + "200": ScriptGrek(), "201": ScriptCari(), - "358": ScriptCham(), - "445": ScriptCher(), - "109": ScriptChrs(), - "291": ScriptCirt(), + "202": ScriptLyci(), "204": ScriptCopt(), - "402": ScriptCpmn(), - "403": ScriptCprt(), + "206": ScriptGoth(), + "210": ScriptItal(), + "211": ScriptRunr(), + "212": ScriptOgam(), + "215": ScriptLatn(), + "216": ScriptLatg(), + "217": ScriptLatf(), + "218": ScriptMoon(), + "219": ScriptOsge(), "220": ScriptCyrl(), "221": ScriptCyrs(), - "315": ScriptDeva(), - "342": ScriptDiak(), - "328": ScriptDogr(), - "250": ScriptDsrt(), - "755": ScriptDupl(), - "070": ScriptEgyd(), - "060": ScriptEgyh(), - "050": ScriptEgyp(), + "225": ScriptGlag(), "226": ScriptElba(), - "128": ScriptElym(), - "430": ScriptEthi(), - "241": ScriptGeok(), + "227": ScriptPerm(), + "228": ScriptVith(), + "230": ScriptArmn(), + "239": ScriptAghb(), "240": ScriptGeor(), - "225": ScriptGlag(), + "241": ScriptGeok(), + "250": ScriptDsrt(), + "259": ScriptBass(), + "260": ScriptOsma(), + "261": ScriptOlck(), + "262": ScriptWara(), + "263": ScriptPauc(), + "264": ScriptMroo(), + "265": ScriptMedf(), + "274": ScriptSunu(), + "275": ScriptTnsa(), + "280": ScriptVisp(), + "281": ScriptShaw(), + "282": ScriptPlrd(), + "283": ScriptWcho(), + "284": ScriptJamo(), + "285": ScriptBopo(), + "286": ScriptHang(), + "287": ScriptKore(), + "288": ScriptKits(), + "290": ScriptTeng(), + "291": ScriptCirt(), + "292": ScriptSara(), + "293": ScriptPiqd(), + "294": ScriptToto(), + "295": ScriptNagm(), + "300": ScriptBrah(), + "302": ScriptSidd(), + "303": ScriptRanj(), + "305": ScriptKhar(), + "310": ScriptGuru(), + "311": ScriptNand(), "312": ScriptGong(), "313": ScriptGonm(), - "206": ScriptGoth(), - "343": ScriptGran(), - "200": ScriptGrek(), + "314": ScriptMahj(), + "315": ScriptDeva(), + "316": ScriptSylo(), + "317": ScriptKthi(), + "318": ScriptSind(), + "319": ScriptShrd(), "320": ScriptGujr(), - "310": ScriptGuru(), - "503": ScriptHanb(), - "286": ScriptHang(), - "500": ScriptHani(), - "371": ScriptHano(), - "501": ScriptHans(), - "502": ScriptHant(), - "127": ScriptHatr(), - "125": ScriptHebr(), - "410": ScriptHira(), - "080": ScriptHluw(), - "450": ScriptHmng(), - "451": ScriptHmnp(), - "412": ScriptHrkt(), - "176": ScriptHung(), - "610": ScriptInds(), - "210": ScriptItal(), - "284": ScriptJamo(), - "361": ScriptJava(), - "413": ScriptJpan(), - "510": ScriptJurc(), - "357": ScriptKali(), - "411": ScriptKana(), - "368": ScriptKawi(), - "305": ScriptKhar(), - "355": ScriptKhmr(), + "321": ScriptTakr(), "322": ScriptKhoj(), - "505": ScriptKitl(), - "288": ScriptKits(), - "345": ScriptKnda(), - "287": ScriptKore(), - "436": ScriptKpel(), - "317": ScriptKthi(), - "351": ScriptLana(), - "356": ScriptLaoo(), - "217": ScriptLatf(), - "216": ScriptLatg(), - "215": ScriptLatn(), - "364": ScriptLeke(), - "335": ScriptLepc(), - "336": ScriptLimb(), - "400": ScriptLina(), - "401": ScriptLinb(), - "399": ScriptLisu(), - "437": ScriptLoma(), - "202": ScriptLyci(), - "116": ScriptLydi(), - "314": ScriptMahj(), - "366": ScriptMaka(), - "140": ScriptMand(), - "139": ScriptMani(), - "332": ScriptMarc(), - "090": ScriptMaya(), - "265": ScriptMedf(), - "438": ScriptMend(), - "101": ScriptMerc(), - "100": ScriptMero(), - "347": ScriptMlym(), - "324": ScriptModi(), - "145": ScriptMong(), - "218": ScriptMoon(), - "264": ScriptMroo(), - "337": ScriptMtei(), "323": ScriptMult(), - "350": ScriptMymr(), - "295": ScriptNagm(), - "311": ScriptNand(), - "106": ScriptNarb(), - "159": ScriptNbat(), - "333": ScriptNewa(), - "085": ScriptNkdb(), - "420": ScriptNkgb(), - "165": ScriptNkoo(), - "499": ScriptNshu(), - "212": ScriptOgam(), - "261": ScriptOlck(), - "175": ScriptOrkh(), + "324": ScriptModi(), + "325": ScriptBeng(), + "326": ScriptTirh(), "327": ScriptOrya(), - "219": ScriptOsge(), - "260": ScriptOsma(), - "143": ScriptOugr(), - "126": ScriptPalm(), - "263": ScriptPauc(), - "015": ScriptPcun(), - "016": ScriptPelm(), - "227": ScriptPerm(), + "328": ScriptDogr(), + "329": ScriptSoyo(), + "330": ScriptTibt(), "331": ScriptPhag(), - "131": ScriptPhli(), - "132": ScriptPhlp(), - "133": ScriptPhlv(), - "115": ScriptPhnx(), - "293": ScriptPiqd(), - "282": ScriptPlrd(), - "130": ScriptPrti(), - "103": ScriptPsin(), - "900": ScriptQaaa(), - "949": ScriptQabx(), - "303": ScriptRanj(), - "363": ScriptRjng(), - "167": ScriptRohg(), - "620": ScriptRoro(), - "211": ScriptRunr(), - "123": ScriptSamr(), - "292": ScriptSara(), - "105": ScriptSarb(), + "332": ScriptMarc(), + "333": ScriptNewa(), + "334": ScriptBhks(), + "335": ScriptLepc(), + "336": ScriptLimb(), + "337": ScriptMtei(), + "338": ScriptAhom(), + "339": ScriptZanb(), + "340": ScriptTelu(), + "342": ScriptDiak(), + "343": ScriptGran(), "344": ScriptSaur(), - "095": ScriptSgnw(), - "281": ScriptShaw(), - "319": ScriptShrd(), - "530": ScriptShui(), - "302": ScriptSidd(), - "318": ScriptSind(), + "345": ScriptKnda(), + "346": ScriptTaml(), + "347": ScriptMlym(), "348": ScriptSinh(), - "141": ScriptSogd(), - "142": ScriptSogo(), - "398": ScriptSora(), - "329": ScriptSoyo(), - "362": ScriptSund(), - "274": ScriptSunu(), - "316": ScriptSylo(), - "135": ScriptSyrc(), - "138": ScriptSyre(), - "137": ScriptSyrj(), - "136": ScriptSyrn(), - "373": ScriptTagb(), - "321": ScriptTakr(), + "349": ScriptCakm(), + "350": ScriptMymr(), + "351": ScriptLana(), + "352": ScriptThai(), "353": ScriptTale(), "354": ScriptTalu(), - "346": ScriptTaml(), - "520": ScriptTang(), + "355": ScriptKhmr(), + "356": ScriptLaoo(), + "357": ScriptKali(), + "358": ScriptCham(), "359": ScriptTavt(), - "340": ScriptTelu(), - "290": ScriptTeng(), - "120": ScriptTfng(), + "360": ScriptBali(), + "361": ScriptJava(), + "362": ScriptSund(), + "363": ScriptRjng(), + "364": ScriptLeke(), + "365": ScriptBatk(), + "366": ScriptMaka(), + "367": ScriptBugi(), + "368": ScriptKawi(), "370": ScriptTglg(), - "170": ScriptThaa(), - "352": ScriptThai(), - "330": ScriptTibt(), - "326": ScriptTirh(), - "275": ScriptTnsa(), - "294": ScriptToto(), - "040": ScriptUgar(), + "371": ScriptHano(), + "372": ScriptBuhd(), + "373": ScriptTagb(), + "398": ScriptSora(), + "399": ScriptLisu(), + "400": ScriptLina(), + "401": ScriptLinb(), + "402": ScriptCpmn(), + "403": ScriptCprt(), + "410": ScriptHira(), + "411": ScriptKana(), + "412": ScriptHrkt(), + "413": ScriptJpan(), + "420": ScriptNkgb(), + "430": ScriptEthi(), + "435": ScriptBamu(), + "436": ScriptKpel(), + "437": ScriptLoma(), + "438": ScriptMend(), + "439": ScriptAfak(), + "440": ScriptCans(), + "445": ScriptCher(), + "450": ScriptHmng(), + "451": ScriptHmnp(), + "460": ScriptYiii(), "470": ScriptVaii(), - "280": ScriptVisp(), - "228": ScriptVith(), - "262": ScriptWara(), - "283": ScriptWcho(), "480": ScriptWole(), - "030": ScriptXpeo(), - "020": ScriptXsux(), - "192": ScriptYezi(), - "460": ScriptYiii(), - "339": ScriptZanb(), + "499": ScriptNshu(), + "500": ScriptHani(), + "501": ScriptHans(), + "502": ScriptHant(), + "503": ScriptHanb(), + "505": ScriptKitl(), + "510": ScriptJurc(), + "520": ScriptTang(), + "530": ScriptShui(), + "550": ScriptBlis(), + "570": ScriptBrai(), + "610": ScriptInds(), + "620": ScriptRoro(), + "755": ScriptDupl(), + "900": ScriptQaaa(), + "949": ScriptQabx(), + "993": ScriptZsye(), "994": ScriptZinh(), "995": ScriptZmth(), - "993": ScriptZsye(), "996": ScriptZsym(), "997": ScriptZxxx(), "998": ScriptZyyy(), diff --git a/packages/sealed_languages/lib/src/data/natural_language_families.data.dart b/packages/sealed_languages/lib/src/data/natural_language_families.data.dart index 6cd1281f..071a4752 100644 --- a/packages/sealed_languages/lib/src/data/natural_language_families.data.dart +++ b/packages/sealed_languages/lib/src/data/natural_language_families.data.dart @@ -1,157 +1,157 @@ import "../model/language_family/language_family.dart"; -/// {@hideConstantImplementations} +/// A class that represents the Afro-Asiatic language family. class AfroAsiatic extends NaturalLanguageFamily { - /// A class that represents the Afro-Asiatic language family. + /// Creates an instance of the Afro-Asiatic language family. const AfroAsiatic() : super(name: "Afro-Asiatic"); } -/// {@hideConstantImplementations} +/// A class that represents the Algonquian language family. class Algonquian extends NaturalLanguageFamily { - /// A class that represents the Algonquian language family. + /// Creates an instance of the Algonquian language family. const Algonquian() : super(name: "Algonquian"); } -/// {@hideConstantImplementations} +/// A class that represents the Austroasiatic language family. class Austroasiatic extends NaturalLanguageFamily { - /// A class that represents the Austroasiatic language family. + /// Creates an instance of the Austroasiatic language family. const Austroasiatic() : super(name: "Austroasiatic"); } -/// {@hideConstantImplementations} +/// A class that represents the Austronesian language family. class Austronesian extends NaturalLanguageFamily { - /// A class that represents the Austronesian language family. + /// Creates an instance of the Austronesian language family. const Austronesian() : super(name: "Austronesian"); } -/// {@hideConstantImplementations} +/// A class that represents the Aymaran language family. class Aymaran extends NaturalLanguageFamily { - /// A class that represents the Aymaran language family. + /// Creates an instance of the Aymaran language family. const Aymaran() : super(name: "Aymaran"); } -/// {@hideConstantImplementations} +/// A class that represents the Constructed language family. class Constructed extends NaturalLanguageFamily { - /// A class that represents the Constructed language family. + /// Creates an instance of the Constructed language family. const Constructed() : super(name: "Constructed"); } -/// {@hideConstantImplementations} +/// A class that represents the Creole language family. class Creole extends NaturalLanguageFamily { - /// A class that represents the Creole language family. + /// Creates an instance of the Creole language family. const Creole() : super(name: "Creole"); } -/// {@hideConstantImplementations} +/// A class that represents the Dene-Yeniseian language family. class DeneYeniseian extends NaturalLanguageFamily { - /// A class that represents the Dene-Yeniseian language family. + /// Creates an instance of the Dene-Yeniseian language family. const DeneYeniseian() : super(name: "Dene-Yeniseian"); } -/// {@hideConstantImplementations} +/// A class that represents the Dravidian language family. class Dravidian extends NaturalLanguageFamily { - /// A class that represents the Dravidian language family. + /// Creates an instance of the Dravidian language family. const Dravidian() : super(name: "Dravidian"); } -/// {@hideConstantImplementations} +/// A class that represents the Indo-European language family. class IndoEuropean extends NaturalLanguageFamily { - /// A class that represents the Indo-European language family. + /// Creates an instance of the Indo-European language family. const IndoEuropean() : super(name: "Indo-European"); } -/// {@hideConstantImplementations} +/// A class that represents the Japonic language family. class Japonic extends NaturalLanguageFamily { - /// A class that represents the Japonic language family. + /// Creates an instance of the Japonic language family. const Japonic() : super(name: "Japonic"); } -/// {@hideConstantImplementations} +/// A class that represents the Koreanic language family. class Koreanic extends NaturalLanguageFamily { - /// A class that represents the Koreanic language family. + /// Creates an instance of the Koreanic language family. const Koreanic() : super(name: "Koreanic"); } -/// {@hideConstantImplementations} +/// A class that represents the Language Isolate language family. class LanguageIsolate extends NaturalLanguageFamily { - /// A class that represents the Language Isolate language family. + /// Creates an instance of the Language Isolate language family. const LanguageIsolate() : super(name: "Language Isolate"); } -/// {@hideConstantImplementations} +/// A class that represents the Mongolic language family. class Mongolic extends NaturalLanguageFamily { - /// A class that represents the Mongolic language family. + /// Creates an instance of the Mongolic language family. const Mongolic() : super(name: "Mongolic"); } -/// {@hideConstantImplementations} +/// A class that represents the Niger-Congo language family. class NigerCongo extends NaturalLanguageFamily { - /// A class that represents the Niger-Congo language family. + /// Creates an instance of the Niger-Congo language family. const NigerCongo() : super(name: "Niger-Congo"); } -/// {@hideConstantImplementations} +/// A class that represents the Nilo-Saharan language family. class NiloSaharan extends NaturalLanguageFamily { - /// A class that represents the Nilo-Saharan language family. + /// Creates an instance of the Nilo-Saharan language family. const NiloSaharan() : super(name: "Nilo-Saharan"); } -/// {@hideConstantImplementations} +/// A class that represents the Northeast Caucasian language family. class NortheastCaucasian extends NaturalLanguageFamily { - /// A class that represents the Northeast Caucasian language family. + /// Creates an instance of the Northeast Caucasian language family. const NortheastCaucasian() : super(name: "Northeast Caucasian"); } -/// {@hideConstantImplementations} +/// A class that represents the Northwest Caucasian language family. class NorthwestCaucasian extends NaturalLanguageFamily { - /// A class that represents the Northwest Caucasian language family. + /// Creates an instance of the Northwest Caucasian language family. const NorthwestCaucasian() : super(name: "Northwest Caucasian"); } -/// {@hideConstantImplementations} +/// A class that represents the Quechuan language family. class Quechuan extends NaturalLanguageFamily { - /// A class that represents the Quechuan language family. + /// Creates an instance of the Quechuan language family. const Quechuan() : super(name: "Quechuan"); } -/// {@hideConstantImplementations} +/// A class that represents the Sino-Tibetan language family. class SinoTibetan extends NaturalLanguageFamily { - /// A class that represents the Sino-Tibetan language family. + /// Creates an instance of the Sino-Tibetan language family. const SinoTibetan() : super(name: "Sino-Tibetan"); } -/// {@hideConstantImplementations} +/// A class that represents the South-Caucasian language family. class SouthCaucasian extends NaturalLanguageFamily { - /// A class that represents the South-Caucasian language family. + /// Creates an instance of the South-Caucasian language family. const SouthCaucasian() : super(name: "South-Caucasian"); } -/// {@hideConstantImplementations} +/// A class that represents the Tai-Kadai language family. class TaiKadai extends NaturalLanguageFamily { - /// A class that represents the Tai-Kadai language family. + /// Creates an instance of the Tai-Kadai language family. const TaiKadai() : super(name: "Tai-Kadai"); } -/// {@hideConstantImplementations} +/// A class that represents the Tupian language family. class Tupian extends NaturalLanguageFamily { - /// A class that represents the Tupian language family. + /// Creates an instance of the Tupian language family. const Tupian() : super(name: "Tupian"); } -/// {@hideConstantImplementations} +/// A class that represents the Turkic language family. class Turkic extends NaturalLanguageFamily { - /// A class that represents the Turkic language family. + /// Creates an instance of the Turkic language family. const Turkic() : super(name: "Turkic"); } -/// {@hideConstantImplementations} +/// A class that represents the Eskimo Aleut language family. class EskimoAleut extends NaturalLanguageFamily { - /// A class that represents the Eskimo Aleut language family. + /// Creates an instance of the Eskimo Aleut language family. const EskimoAleut() : super(name: "Eskimo Aleut"); } -/// {@hideConstantImplementations} +/// A class that represents the Uralic language family. class Uralic extends NaturalLanguageFamily { - /// A class that represents the Uralic language family. + /// Creates an instance of the Uralic language family. const Uralic() : super(name: "Uralic"); } diff --git a/packages/sealed_languages/lib/src/data/natural_languages.data.dart b/packages/sealed_languages/lib/src/data/natural_languages.data.dart index ead5a460..46464271 100644 --- a/packages/sealed_languages/lib/src/data/natural_languages.data.dart +++ b/packages/sealed_languages/lib/src/data/natural_languages.data.dart @@ -1,3 +1,4 @@ +// ignore: avoid-importing-entrypoint-exports, it contains all the translations. import "../../language_translations.dart"; import "../model/language/language.dart"; import "../model/translated_name.dart"; @@ -8,17 +9,14 @@ import "scripts.data.dart"; class LangAar extends NaturalLanguage { /// Creates a instance of [LangAar] (Afar language). /// - /// ISO 639-2 code: "AAR", ISO 639-1 code: "AA". + /// ISO 639-2/T code: "AAR", ISO 639-1 code: "AA". const LangAar() : super( name: "Afar", code: "AAR", codeShort: "AA", namesNative: const ["Afaraf"], - bibliographicCode: null, family: const AfroAsiatic(), - isRightToLeft: false, - scripts: const {ScriptLatn()}, ); @override @@ -29,16 +27,14 @@ class LangAar extends NaturalLanguage { class LangAbk extends NaturalLanguage { /// Creates a instance of [LangAbk] (Abkhaz language). /// - /// ISO 639-2 code: "ABK", ISO 639-1 code: "AB". + /// ISO 639-2/T code: "ABK", ISO 639-1 code: "AB". const LangAbk() : super( name: "Abkhaz", code: "ABK", codeShort: "AB", namesNative: const ["аҧсуа бызшәа", "аҧсшәа"], - bibliographicCode: null, family: const NorthwestCaucasian(), - isRightToLeft: false, scripts: const {ScriptCyrl()}, ); @@ -50,17 +46,14 @@ class LangAbk extends NaturalLanguage { class LangAfr extends NaturalLanguage { /// Creates a instance of [LangAfr] (Afrikaans language). /// - /// ISO 639-2 code: "AFR", ISO 639-1 code: "AF". + /// ISO 639-2/T code: "AFR", ISO 639-1 code: "AF". const LangAfr() : super( name: "Afrikaans", code: "AFR", codeShort: "AF", namesNative: const ["Afrikaans"], - bibliographicCode: null, family: const IndoEuropean(), - isRightToLeft: false, - scripts: const {ScriptLatn()}, ); @override @@ -71,17 +64,14 @@ class LangAfr extends NaturalLanguage { class LangAka extends NaturalLanguage { /// Creates a instance of [LangAka] (Akan language). /// - /// ISO 639-2 code: "AKA", ISO 639-1 code: "AK". + /// ISO 639-2/T code: "AKA", ISO 639-1 code: "AK". const LangAka() : super( name: "Akan", code: "AKA", codeShort: "AK", namesNative: const ["Akan"], - bibliographicCode: null, family: const NigerCongo(), - isRightToLeft: false, - scripts: const {ScriptLatn()}, ); @override @@ -92,16 +82,14 @@ class LangAka extends NaturalLanguage { class LangAmh extends NaturalLanguage { /// Creates a instance of [LangAmh] (Amharic language). /// - /// ISO 639-2 code: "AMH", ISO 639-1 code: "AM". + /// ISO 639-2/T code: "AMH", ISO 639-1 code: "AM". const LangAmh() : super( name: "Amharic", code: "AMH", codeShort: "AM", namesNative: const ["አማርኛ"], - bibliographicCode: null, family: const AfroAsiatic(), - isRightToLeft: false, scripts: const {ScriptEthi()}, ); @@ -113,14 +101,13 @@ class LangAmh extends NaturalLanguage { class LangAra extends NaturalLanguage { /// Creates a instance of [LangAra] (Arabic language). /// - /// ISO 639-2 code: "ARA", ISO 639-1 code: "AR". + /// ISO 639-2/T code: "ARA", ISO 639-1 code: "AR". const LangAra() : super( name: "Arabic", code: "ARA", codeShort: "AR", namesNative: const ["العربية"], - bibliographicCode: null, family: const AfroAsiatic(), isRightToLeft: true, scripts: const {ScriptArab()}, @@ -134,17 +121,14 @@ class LangAra extends NaturalLanguage { class LangArg extends NaturalLanguage { /// Creates a instance of [LangArg] (Aragonese language). /// - /// ISO 639-2 code: "ARG", ISO 639-1 code: "AN". + /// ISO 639-2/T code: "ARG", ISO 639-1 code: "AN". const LangArg() : super( name: "Aragonese", code: "ARG", codeShort: "AN", namesNative: const ["aragonés"], - bibliographicCode: null, family: const IndoEuropean(), - isRightToLeft: false, - scripts: const {ScriptLatn()}, ); @override @@ -155,16 +139,14 @@ class LangArg extends NaturalLanguage { class LangAsm extends NaturalLanguage { /// Creates a instance of [LangAsm] (Assamese language). /// - /// ISO 639-2 code: "ASM", ISO 639-1 code: "AS". + /// ISO 639-2/T code: "ASM", ISO 639-1 code: "AS". const LangAsm() : super( name: "Assamese", code: "ASM", codeShort: "AS", namesNative: const ["অসমীয়া"], - bibliographicCode: null, family: const IndoEuropean(), - isRightToLeft: false, scripts: const {ScriptBeng()}, ); @@ -176,16 +158,14 @@ class LangAsm extends NaturalLanguage { class LangAva extends NaturalLanguage { /// Creates a instance of [LangAva] (Avaric language). /// - /// ISO 639-2 code: "AVA", ISO 639-1 code: "AV". + /// ISO 639-2/T code: "AVA", ISO 639-1 code: "AV". const LangAva() : super( name: "Avaric", code: "AVA", codeShort: "AV", namesNative: const ["авар мацӀ", "магӀарул мацӀ"], - bibliographicCode: null, family: const NortheastCaucasian(), - isRightToLeft: false, scripts: const {ScriptCyrl()}, ); @@ -197,16 +177,14 @@ class LangAva extends NaturalLanguage { class LangAve extends NaturalLanguage { /// Creates a instance of [LangAve] (Avestan language). /// - /// ISO 639-2 code: "AVE", ISO 639-1 code: "AE". + /// ISO 639-2/T code: "AVE", ISO 639-1 code: "AE". const LangAve() : super( name: "Avestan", code: "AVE", codeShort: "AE", namesNative: const ["avesta"], - bibliographicCode: null, family: const IndoEuropean(), - isRightToLeft: false, scripts: const {ScriptAvst()}, ); @@ -218,17 +196,14 @@ class LangAve extends NaturalLanguage { class LangAym extends NaturalLanguage { /// Creates a instance of [LangAym] (Aymara language). /// - /// ISO 639-2 code: "AYM", ISO 639-1 code: "AY". + /// ISO 639-2/T code: "AYM", ISO 639-1 code: "AY". const LangAym() : super( name: "Aymara", code: "AYM", codeShort: "AY", namesNative: const ["aymar aru"], - bibliographicCode: null, family: const Aymaran(), - isRightToLeft: false, - scripts: const {ScriptLatn()}, ); @override @@ -239,16 +214,14 @@ class LangAym extends NaturalLanguage { class LangAze extends NaturalLanguage { /// Creates a instance of [LangAze] (Azerbaijani language). /// - /// ISO 639-2 code: "AZE", ISO 639-1 code: "AZ". + /// ISO 639-2/T code: "AZE", ISO 639-1 code: "AZ". const LangAze() : super( name: "Azerbaijani", code: "AZE", codeShort: "AZ", namesNative: const ["azərbaycan dili"], - bibliographicCode: null, family: const Turkic(), - isRightToLeft: false, scripts: const {ScriptArab(), ScriptLatn(), ScriptCyrl()}, ); @@ -260,16 +233,14 @@ class LangAze extends NaturalLanguage { class LangBak extends NaturalLanguage { /// Creates a instance of [LangBak] (Bashkir language). /// - /// ISO 639-2 code: "BAK", ISO 639-1 code: "BA". + /// ISO 639-2/T code: "BAK", ISO 639-1 code: "BA". const LangBak() : super( name: "Bashkir", code: "BAK", codeShort: "BA", namesNative: const ["башҡорт теле"], - bibliographicCode: null, family: const Turkic(), - isRightToLeft: false, scripts: const {ScriptCyrl()}, ); @@ -281,17 +252,14 @@ class LangBak extends NaturalLanguage { class LangBam extends NaturalLanguage { /// Creates a instance of [LangBam] (Bambara language). /// - /// ISO 639-2 code: "BAM", ISO 639-1 code: "BM". + /// ISO 639-2/T code: "BAM", ISO 639-1 code: "BM". const LangBam() : super( name: "Bambara", code: "BAM", codeShort: "BM", namesNative: const ["bamanankan"], - bibliographicCode: null, family: const NigerCongo(), - isRightToLeft: false, - scripts: const {ScriptLatn()}, ); @override @@ -302,16 +270,14 @@ class LangBam extends NaturalLanguage { class LangBel extends NaturalLanguage { /// Creates a instance of [LangBel] (Belarusian language). /// - /// ISO 639-2 code: "BEL", ISO 639-1 code: "BE". + /// ISO 639-2/T code: "BEL", ISO 639-1 code: "BE". const LangBel() : super( name: "Belarusian", code: "BEL", codeShort: "BE", namesNative: const ["беларуская мова"], - bibliographicCode: null, family: const IndoEuropean(), - isRightToLeft: false, scripts: const {ScriptCyrl()}, ); @@ -323,16 +289,14 @@ class LangBel extends NaturalLanguage { class LangBen extends NaturalLanguage { /// Creates a instance of [LangBen] (Bengali (Bangla) language). /// - /// ISO 639-2 code: "BEN", ISO 639-1 code: "BN". + /// ISO 639-2/T code: "BEN", ISO 639-1 code: "BN". const LangBen() : super( name: "Bengali (Bangla)", code: "BEN", codeShort: "BN", namesNative: const ["বাংলা"], - bibliographicCode: null, family: const IndoEuropean(), - isRightToLeft: false, scripts: const {ScriptBeng()}, ); @@ -344,16 +308,14 @@ class LangBen extends NaturalLanguage { class LangBih extends NaturalLanguage { /// Creates a instance of [LangBih] (Bihari language). /// - /// ISO 639-2 code: "BIH", ISO 639-1 code: "BH". + /// ISO 639-2/T code: "BIH", ISO 639-1 code: "BH". const LangBih() : super( name: "Bihari", code: "BIH", codeShort: "BH", namesNative: const ["भोजपुरी"], - bibliographicCode: null, family: const IndoEuropean(), - isRightToLeft: false, scripts: const {ScriptDeva(), ScriptBhks()}, ); @@ -365,17 +327,14 @@ class LangBih extends NaturalLanguage { class LangBis extends NaturalLanguage { /// Creates a instance of [LangBis] (Bislama language). /// - /// ISO 639-2 code: "BIS", ISO 639-1 code: "BI". + /// ISO 639-2/T code: "BIS", ISO 639-1 code: "BI". const LangBis() : super( name: "Bislama", code: "BIS", codeShort: "BI", namesNative: const ["Bislama"], - bibliographicCode: null, family: const Creole(), - isRightToLeft: false, - scripts: const {ScriptLatn()}, ); @override @@ -386,7 +345,7 @@ class LangBis extends NaturalLanguage { class LangBod extends NaturalLanguage { /// Creates a instance of [LangBod] (Tibetan Standard language). /// - /// ISO 639-2 code: "BOD", ISO 639-1 code: "BO". + /// ISO 639-2/T code: "BOD", ISO 639-1 code: "BO". const LangBod() : super( name: "Tibetan Standard", @@ -395,7 +354,6 @@ class LangBod extends NaturalLanguage { namesNative: const ["བོད་ཡིག"], bibliographicCode: "TIB", family: const SinoTibetan(), - isRightToLeft: false, scripts: const {ScriptTibt()}, ); @@ -407,16 +365,14 @@ class LangBod extends NaturalLanguage { class LangBos extends NaturalLanguage { /// Creates a instance of [LangBos] (Bosnian language). /// - /// ISO 639-2 code: "BOS", ISO 639-1 code: "BS". + /// ISO 639-2/T code: "BOS", ISO 639-1 code: "BS". const LangBos() : super( name: "Bosnian", code: "BOS", codeShort: "BS", namesNative: const ["bosanski jezik"], - bibliographicCode: null, family: const IndoEuropean(), - isRightToLeft: false, scripts: const {ScriptLatn(), ScriptCyrl()}, ); @@ -428,17 +384,14 @@ class LangBos extends NaturalLanguage { class LangBre extends NaturalLanguage { /// Creates a instance of [LangBre] (Breton language). /// - /// ISO 639-2 code: "BRE", ISO 639-1 code: "BR". + /// ISO 639-2/T code: "BRE", ISO 639-1 code: "BR". const LangBre() : super( name: "Breton", code: "BRE", codeShort: "BR", namesNative: const ["brezhoneg"], - bibliographicCode: null, family: const IndoEuropean(), - isRightToLeft: false, - scripts: const {ScriptLatn()}, ); @override @@ -449,16 +402,14 @@ class LangBre extends NaturalLanguage { class LangBul extends NaturalLanguage { /// Creates a instance of [LangBul] (Bulgarian language). /// - /// ISO 639-2 code: "BUL", ISO 639-1 code: "BG". + /// ISO 639-2/T code: "BUL", ISO 639-1 code: "BG". const LangBul() : super( name: "Bulgarian", code: "BUL", codeShort: "BG", namesNative: const ["български език"], - bibliographicCode: null, family: const IndoEuropean(), - isRightToLeft: false, scripts: const {ScriptCyrl()}, ); @@ -470,17 +421,14 @@ class LangBul extends NaturalLanguage { class LangCat extends NaturalLanguage { /// Creates a instance of [LangCat] (Catalan language). /// - /// ISO 639-2 code: "CAT", ISO 639-1 code: "CA". + /// ISO 639-2/T code: "CAT", ISO 639-1 code: "CA". const LangCat() : super( name: "Catalan", code: "CAT", codeShort: "CA", namesNative: const ["català"], - bibliographicCode: null, family: const IndoEuropean(), - isRightToLeft: false, - scripts: const {ScriptLatn()}, ); @override @@ -491,7 +439,7 @@ class LangCat extends NaturalLanguage { class LangCes extends NaturalLanguage { /// Creates a instance of [LangCes] (Czech language). /// - /// ISO 639-2 code: "CES", ISO 639-1 code: "CS". + /// ISO 639-2/T code: "CES", ISO 639-1 code: "CS". const LangCes() : super( name: "Czech", @@ -500,8 +448,6 @@ class LangCes extends NaturalLanguage { namesNative: const ["čeština"], bibliographicCode: "CZE", family: const IndoEuropean(), - isRightToLeft: false, - scripts: const {ScriptLatn()}, ); @override @@ -512,17 +458,14 @@ class LangCes extends NaturalLanguage { class LangCha extends NaturalLanguage { /// Creates a instance of [LangCha] (Chamorro language). /// - /// ISO 639-2 code: "CHA", ISO 639-1 code: "CH". + /// ISO 639-2/T code: "CHA", ISO 639-1 code: "CH". const LangCha() : super( name: "Chamorro", code: "CHA", codeShort: "CH", namesNative: const ["Chamoru"], - bibliographicCode: null, family: const Austronesian(), - isRightToLeft: false, - scripts: const {ScriptLatn()}, ); @override @@ -533,16 +476,14 @@ class LangCha extends NaturalLanguage { class LangChe extends NaturalLanguage { /// Creates a instance of [LangChe] (Chechen language). /// - /// ISO 639-2 code: "CHE", ISO 639-1 code: "CE". + /// ISO 639-2/T code: "CHE", ISO 639-1 code: "CE". const LangChe() : super( name: "Chechen", code: "CHE", codeShort: "CE", namesNative: const ["нохчийн мотт"], - bibliographicCode: null, family: const NortheastCaucasian(), - isRightToLeft: false, scripts: const {ScriptCyrl()}, ); @@ -554,16 +495,14 @@ class LangChe extends NaturalLanguage { class LangChu extends NaturalLanguage { /// Creates a instance of [LangChu] ((Old) Church Slavonic language). /// - /// ISO 639-2 code: "CHU", ISO 639-1 code: "CU". + /// ISO 639-2/T code: "CHU", ISO 639-1 code: "CU". const LangChu() : super( name: "(Old) Church Slavonic", code: "CHU", codeShort: "CU", namesNative: const ["ѩзыкъ словѣньскъ"], - bibliographicCode: null, family: const IndoEuropean(), - isRightToLeft: false, scripts: const {ScriptCyrs()}, ); @@ -575,16 +514,14 @@ class LangChu extends NaturalLanguage { class LangChv extends NaturalLanguage { /// Creates a instance of [LangChv] (Chuvash language). /// - /// ISO 639-2 code: "CHV", ISO 639-1 code: "CV". + /// ISO 639-2/T code: "CHV", ISO 639-1 code: "CV". const LangChv() : super( name: "Chuvash", code: "CHV", codeShort: "CV", namesNative: const ["чӑваш чӗлхи"], - bibliographicCode: null, family: const Turkic(), - isRightToLeft: false, scripts: const {ScriptCyrl()}, ); @@ -596,17 +533,14 @@ class LangChv extends NaturalLanguage { class LangCor extends NaturalLanguage { /// Creates a instance of [LangCor] (Cornish language). /// - /// ISO 639-2 code: "COR", ISO 639-1 code: "KW". + /// ISO 639-2/T code: "COR", ISO 639-1 code: "KW". const LangCor() : super( name: "Cornish", code: "COR", codeShort: "KW", namesNative: const ["Kernewek"], - bibliographicCode: null, family: const IndoEuropean(), - isRightToLeft: false, - scripts: const {ScriptLatn()}, ); @override @@ -617,17 +551,14 @@ class LangCor extends NaturalLanguage { class LangCos extends NaturalLanguage { /// Creates a instance of [LangCos] (Corsican language). /// - /// ISO 639-2 code: "COS", ISO 639-1 code: "CO". + /// ISO 639-2/T code: "COS", ISO 639-1 code: "CO". const LangCos() : super( name: "Corsican", code: "COS", codeShort: "CO", namesNative: const ["corsu", "lingua corsa"], - bibliographicCode: null, family: const IndoEuropean(), - isRightToLeft: false, - scripts: const {ScriptLatn()}, ); @override @@ -638,17 +569,14 @@ class LangCos extends NaturalLanguage { class LangCre extends NaturalLanguage { /// Creates a instance of [LangCre] (Cree language). /// - /// ISO 639-2 code: "CRE", ISO 639-1 code: "CR". + /// ISO 639-2/T code: "CRE", ISO 639-1 code: "CR". const LangCre() : super( name: "Cree", code: "CRE", codeShort: "CR", namesNative: const ["ᓀᐦᐃᔭᐍᐏᐣ"], - bibliographicCode: null, family: const Algonquian(), - isRightToLeft: false, - scripts: const {ScriptLatn()}, ); @override @@ -659,7 +587,7 @@ class LangCre extends NaturalLanguage { class LangCym extends NaturalLanguage { /// Creates a instance of [LangCym] (Welsh language). /// - /// ISO 639-2 code: "CYM", ISO 639-1 code: "CY". + /// ISO 639-2/T code: "CYM", ISO 639-1 code: "CY". const LangCym() : super( name: "Welsh", @@ -668,8 +596,6 @@ class LangCym extends NaturalLanguage { namesNative: const ["Cymraeg"], bibliographicCode: "WEL", family: const IndoEuropean(), - isRightToLeft: false, - scripts: const {ScriptLatn()}, ); @override @@ -680,17 +606,14 @@ class LangCym extends NaturalLanguage { class LangDan extends NaturalLanguage { /// Creates a instance of [LangDan] (Danish language). /// - /// ISO 639-2 code: "DAN", ISO 639-1 code: "DA". + /// ISO 639-2/T code: "DAN", ISO 639-1 code: "DA". const LangDan() : super( name: "Danish", code: "DAN", codeShort: "DA", namesNative: const ["dansk"], - bibliographicCode: null, family: const IndoEuropean(), - isRightToLeft: false, - scripts: const {ScriptLatn()}, ); @override @@ -701,7 +624,7 @@ class LangDan extends NaturalLanguage { class LangDeu extends NaturalLanguage { /// Creates a instance of [LangDeu] (German language). /// - /// ISO 639-2 code: "DEU", ISO 639-1 code: "DE". + /// ISO 639-2/T code: "DEU", ISO 639-1 code: "DE". const LangDeu() : super( name: "German", @@ -710,8 +633,6 @@ class LangDeu extends NaturalLanguage { namesNative: const ["Deutsch"], bibliographicCode: "GER", family: const IndoEuropean(), - isRightToLeft: false, - scripts: const {ScriptLatn()}, ); @override @@ -722,14 +643,13 @@ class LangDeu extends NaturalLanguage { class LangDiv extends NaturalLanguage { /// Creates a instance of [LangDiv] (Divehi (Dhivehi/Maldivian) language). /// - /// ISO 639-2 code: "DIV", ISO 639-1 code: "DV". + /// ISO 639-2/T code: "DIV", ISO 639-1 code: "DV". const LangDiv() : super( name: "Divehi (Dhivehi/Maldivian)", code: "DIV", codeShort: "DV", namesNative: const ["ދިވެހި"], - bibliographicCode: null, family: const IndoEuropean(), isRightToLeft: true, scripts: const {ScriptThaa()}, @@ -743,16 +663,14 @@ class LangDiv extends NaturalLanguage { class LangDzo extends NaturalLanguage { /// Creates a instance of [LangDzo] (Dzongkha language). /// - /// ISO 639-2 code: "DZO", ISO 639-1 code: "DZ". + /// ISO 639-2/T code: "DZO", ISO 639-1 code: "DZ". const LangDzo() : super( name: "Dzongkha", code: "DZO", codeShort: "DZ", namesNative: const ["རྫོང་ཁ"], - bibliographicCode: null, family: const SinoTibetan(), - isRightToLeft: false, scripts: const {ScriptTibt()}, ); @@ -764,7 +682,7 @@ class LangDzo extends NaturalLanguage { class LangEll extends NaturalLanguage { /// Creates a instance of [LangEll] (Greek (modern) language). /// - /// ISO 639-2 code: "ELL", ISO 639-1 code: "EL". + /// ISO 639-2/T code: "ELL", ISO 639-1 code: "EL". const LangEll() : super( name: "Greek (modern)", @@ -773,7 +691,6 @@ class LangEll extends NaturalLanguage { namesNative: const ["ελληνικά"], bibliographicCode: "GRE", family: const IndoEuropean(), - isRightToLeft: false, scripts: const {ScriptGrek()}, ); @@ -785,17 +702,14 @@ class LangEll extends NaturalLanguage { class LangEng extends NaturalLanguage { /// Creates a instance of [LangEng] (English language). /// - /// ISO 639-2 code: "ENG", ISO 639-1 code: "EN". + /// ISO 639-2/T code: "ENG", ISO 639-1 code: "EN". const LangEng() : super( name: "English", code: "ENG", codeShort: "EN", namesNative: const ["English"], - bibliographicCode: null, family: const IndoEuropean(), - isRightToLeft: false, - scripts: const {ScriptLatn()}, ); @override @@ -806,17 +720,14 @@ class LangEng extends NaturalLanguage { class LangEpo extends NaturalLanguage { /// Creates a instance of [LangEpo] (Esperanto language). /// - /// ISO 639-2 code: "EPO", ISO 639-1 code: "EO". + /// ISO 639-2/T code: "EPO", ISO 639-1 code: "EO". const LangEpo() : super( name: "Esperanto", code: "EPO", codeShort: "EO", namesNative: const ["Esperanto"], - bibliographicCode: null, family: const Constructed(), - isRightToLeft: false, - scripts: const {ScriptLatn()}, ); @override @@ -827,17 +738,14 @@ class LangEpo extends NaturalLanguage { class LangEst extends NaturalLanguage { /// Creates a instance of [LangEst] (Estonian language). /// - /// ISO 639-2 code: "EST", ISO 639-1 code: "ET". + /// ISO 639-2/T code: "EST", ISO 639-1 code: "ET". const LangEst() : super( name: "Estonian", code: "EST", codeShort: "ET", namesNative: const ["eesti", "eesti keel"], - bibliographicCode: null, family: const Uralic(), - isRightToLeft: false, - scripts: const {ScriptLatn()}, ); @override @@ -848,7 +756,7 @@ class LangEst extends NaturalLanguage { class LangEus extends NaturalLanguage { /// Creates a instance of [LangEus] (Basque language). /// - /// ISO 639-2 code: "EUS", ISO 639-1 code: "EU". + /// ISO 639-2/T code: "EUS", ISO 639-1 code: "EU". const LangEus() : super( name: "Basque", @@ -857,8 +765,6 @@ class LangEus extends NaturalLanguage { namesNative: const ["euskara", "euskera"], bibliographicCode: "BAQ", family: const LanguageIsolate(), - isRightToLeft: false, - scripts: const {ScriptLatn()}, ); @override @@ -869,17 +775,14 @@ class LangEus extends NaturalLanguage { class LangEwe extends NaturalLanguage { /// Creates a instance of [LangEwe] (Ewe language). /// - /// ISO 639-2 code: "EWE", ISO 639-1 code: "EE". + /// ISO 639-2/T code: "EWE", ISO 639-1 code: "EE". const LangEwe() : super( name: "Ewe", code: "EWE", codeShort: "EE", namesNative: const ["Eʋegbe"], - bibliographicCode: null, family: const NigerCongo(), - isRightToLeft: false, - scripts: const {ScriptLatn()}, ); @override @@ -890,17 +793,14 @@ class LangEwe extends NaturalLanguage { class LangFao extends NaturalLanguage { /// Creates a instance of [LangFao] (Faroese language). /// - /// ISO 639-2 code: "FAO", ISO 639-1 code: "FO". + /// ISO 639-2/T code: "FAO", ISO 639-1 code: "FO". const LangFao() : super( name: "Faroese", code: "FAO", codeShort: "FO", namesNative: const ["føroyskt"], - bibliographicCode: null, family: const IndoEuropean(), - isRightToLeft: false, - scripts: const {ScriptLatn()}, ); @override @@ -911,7 +811,7 @@ class LangFao extends NaturalLanguage { class LangFas extends NaturalLanguage { /// Creates a instance of [LangFas] (Persian (Farsi) language). /// - /// ISO 639-2 code: "FAS", ISO 639-1 code: "FA". + /// ISO 639-2/T code: "FAS", ISO 639-1 code: "FA". const LangFas() : super( name: "Persian (Farsi)", @@ -932,17 +832,14 @@ class LangFas extends NaturalLanguage { class LangFij extends NaturalLanguage { /// Creates a instance of [LangFij] (Fijian language). /// - /// ISO 639-2 code: "FIJ", ISO 639-1 code: "FJ". + /// ISO 639-2/T code: "FIJ", ISO 639-1 code: "FJ". const LangFij() : super( name: "Fijian", code: "FIJ", codeShort: "FJ", namesNative: const ["vosa Vakaviti"], - bibliographicCode: null, family: const Austronesian(), - isRightToLeft: false, - scripts: const {ScriptLatn()}, ); @override @@ -953,17 +850,14 @@ class LangFij extends NaturalLanguage { class LangFin extends NaturalLanguage { /// Creates a instance of [LangFin] (Finnish language). /// - /// ISO 639-2 code: "FIN", ISO 639-1 code: "FI". + /// ISO 639-2/T code: "FIN", ISO 639-1 code: "FI". const LangFin() : super( name: "Finnish", code: "FIN", codeShort: "FI", namesNative: const ["suomi", "suomen kieli"], - bibliographicCode: null, family: const Uralic(), - isRightToLeft: false, - scripts: const {ScriptLatn()}, ); @override @@ -974,7 +868,7 @@ class LangFin extends NaturalLanguage { class LangFra extends NaturalLanguage { /// Creates a instance of [LangFra] (French language). /// - /// ISO 639-2 code: "FRA", ISO 639-1 code: "FR". + /// ISO 639-2/T code: "FRA", ISO 639-1 code: "FR". const LangFra() : super( name: "French", @@ -983,8 +877,6 @@ class LangFra extends NaturalLanguage { namesNative: const ["français", "langue française"], bibliographicCode: "FRE", family: const IndoEuropean(), - isRightToLeft: false, - scripts: const {ScriptLatn()}, ); @override @@ -995,17 +887,14 @@ class LangFra extends NaturalLanguage { class LangFry extends NaturalLanguage { /// Creates a instance of [LangFry] (Western Frisian language). /// - /// ISO 639-2 code: "FRY", ISO 639-1 code: "FY". + /// ISO 639-2/T code: "FRY", ISO 639-1 code: "FY". const LangFry() : super( name: "Western Frisian", code: "FRY", codeShort: "FY", namesNative: const ["Frysk"], - bibliographicCode: null, family: const IndoEuropean(), - isRightToLeft: false, - scripts: const {ScriptLatn()}, ); @override @@ -1016,17 +905,14 @@ class LangFry extends NaturalLanguage { class LangFul extends NaturalLanguage { /// Creates a instance of [LangFul] (Fula (Fulah/Pulaar/Pular) language). /// - /// ISO 639-2 code: "FUL", ISO 639-1 code: "FF". + /// ISO 639-2/T code: "FUL", ISO 639-1 code: "FF". const LangFul() : super( name: "Fula (Fulah/Pulaar/Pular)", code: "FUL", codeShort: "FF", namesNative: const ["Fulfulde", "Pulaar", "Pular"], - bibliographicCode: null, family: const NigerCongo(), - isRightToLeft: false, - scripts: const {ScriptLatn()}, ); @override @@ -1037,17 +923,14 @@ class LangFul extends NaturalLanguage { class LangGla extends NaturalLanguage { /// Creates a instance of [LangGla] ((Scottish) Gaelic language). /// - /// ISO 639-2 code: "GLA", ISO 639-1 code: "GD". + /// ISO 639-2/T code: "GLA", ISO 639-1 code: "GD". const LangGla() : super( name: "(Scottish) Gaelic", code: "GLA", codeShort: "GD", namesNative: const ["Gàidhlig"], - bibliographicCode: null, family: const IndoEuropean(), - isRightToLeft: false, - scripts: const {ScriptLatn()}, ); @override @@ -1058,17 +941,14 @@ class LangGla extends NaturalLanguage { class LangGle extends NaturalLanguage { /// Creates a instance of [LangGle] (Irish language). /// - /// ISO 639-2 code: "GLE", ISO 639-1 code: "GA". + /// ISO 639-2/T code: "GLE", ISO 639-1 code: "GA". const LangGle() : super( name: "Irish", code: "GLE", codeShort: "GA", namesNative: const ["Gaeilge"], - bibliographicCode: null, family: const IndoEuropean(), - isRightToLeft: false, - scripts: const {ScriptLatn()}, ); @override @@ -1079,17 +959,14 @@ class LangGle extends NaturalLanguage { class LangGlg extends NaturalLanguage { /// Creates a instance of [LangGlg] (Galician language). /// - /// ISO 639-2 code: "GLG", ISO 639-1 code: "GL". + /// ISO 639-2/T code: "GLG", ISO 639-1 code: "GL". const LangGlg() : super( name: "Galician", code: "GLG", codeShort: "GL", namesNative: const ["galego"], - bibliographicCode: null, family: const IndoEuropean(), - isRightToLeft: false, - scripts: const {ScriptLatn()}, ); @override @@ -1100,17 +977,14 @@ class LangGlg extends NaturalLanguage { class LangGlv extends NaturalLanguage { /// Creates a instance of [LangGlv] (Manx language). /// - /// ISO 639-2 code: "GLV", ISO 639-1 code: "GV". + /// ISO 639-2/T code: "GLV", ISO 639-1 code: "GV". const LangGlv() : super( name: "Manx", code: "GLV", codeShort: "GV", namesNative: const ["Gaelg", "Gailck"], - bibliographicCode: null, family: const IndoEuropean(), - isRightToLeft: false, - scripts: const {ScriptLatn()}, ); @override @@ -1121,17 +995,14 @@ class LangGlv extends NaturalLanguage { class LangGrn extends NaturalLanguage { /// Creates a instance of [LangGrn] (Guaraní language). /// - /// ISO 639-2 code: "GRN", ISO 639-1 code: "GN". + /// ISO 639-2/T code: "GRN", ISO 639-1 code: "GN". const LangGrn() : super( name: "Guaraní", code: "GRN", codeShort: "GN", namesNative: const ["Avañe'ẽ"], - bibliographicCode: null, family: const Tupian(), - isRightToLeft: false, - scripts: const {ScriptLatn()}, ); @override @@ -1142,16 +1013,14 @@ class LangGrn extends NaturalLanguage { class LangGuj extends NaturalLanguage { /// Creates a instance of [LangGuj] (Gujarati language). /// - /// ISO 639-2 code: "GUJ", ISO 639-1 code: "GU". + /// ISO 639-2/T code: "GUJ", ISO 639-1 code: "GU". const LangGuj() : super( name: "Gujarati", code: "GUJ", codeShort: "GU", namesNative: const ["ગુજરાતી"], - bibliographicCode: null, family: const IndoEuropean(), - isRightToLeft: false, scripts: const {ScriptGujr()}, ); @@ -1163,17 +1032,14 @@ class LangGuj extends NaturalLanguage { class LangHat extends NaturalLanguage { /// Creates a instance of [LangHat] (Haitian (Haitian Creole) language). /// - /// ISO 639-2 code: "HAT", ISO 639-1 code: "HT". + /// ISO 639-2/T code: "HAT", ISO 639-1 code: "HT". const LangHat() : super( name: "Haitian (Haitian Creole)", code: "HAT", codeShort: "HT", namesNative: const ["Kreyòl ayisyen"], - bibliographicCode: null, family: const Creole(), - isRightToLeft: false, - scripts: const {ScriptLatn()}, ); @override @@ -1184,17 +1050,15 @@ class LangHat extends NaturalLanguage { class LangHau extends NaturalLanguage { /// Creates a instance of [LangHau] (Hausa language). /// - /// ISO 639-2 code: "HAU", ISO 639-1 code: "HA". + /// ISO 639-2/T code: "HAU", ISO 639-1 code: "HA". const LangHau() : super( name: "Hausa", code: "HAU", codeShort: "HA", namesNative: const ["(Hausa) هَوُسَ"], - bibliographicCode: null, family: const AfroAsiatic(), isRightToLeft: true, - scripts: const {ScriptLatn()}, ); @override @@ -1205,14 +1069,13 @@ class LangHau extends NaturalLanguage { class LangHeb extends NaturalLanguage { /// Creates a instance of [LangHeb] (Hebrew (modern) language). /// - /// ISO 639-2 code: "HEB", ISO 639-1 code: "HE". + /// ISO 639-2/T code: "HEB", ISO 639-1 code: "HE". const LangHeb() : super( name: "Hebrew (modern)", code: "HEB", codeShort: "HE", namesNative: const ["עברית"], - bibliographicCode: null, family: const AfroAsiatic(), isRightToLeft: true, scripts: const {ScriptHebr()}, @@ -1226,17 +1089,14 @@ class LangHeb extends NaturalLanguage { class LangHer extends NaturalLanguage { /// Creates a instance of [LangHer] (Herero language). /// - /// ISO 639-2 code: "HER", ISO 639-1 code: "HZ". + /// ISO 639-2/T code: "HER", ISO 639-1 code: "HZ". const LangHer() : super( name: "Herero", code: "HER", codeShort: "HZ", namesNative: const ["Otjiherero"], - bibliographicCode: null, family: const NigerCongo(), - isRightToLeft: false, - scripts: const {ScriptLatn()}, ); @override @@ -1247,16 +1107,14 @@ class LangHer extends NaturalLanguage { class LangHin extends NaturalLanguage { /// Creates a instance of [LangHin] (Hindi language). /// - /// ISO 639-2 code: "HIN", ISO 639-1 code: "HI". + /// ISO 639-2/T code: "HIN", ISO 639-1 code: "HI". const LangHin() : super( name: "Hindi", code: "HIN", codeShort: "HI", namesNative: const ["हिन्दी", "हिंदी"], - bibliographicCode: null, family: const IndoEuropean(), - isRightToLeft: false, scripts: const {ScriptDeva()}, ); @@ -1268,17 +1126,14 @@ class LangHin extends NaturalLanguage { class LangHmo extends NaturalLanguage { /// Creates a instance of [LangHmo] (Hiri Motu language). /// - /// ISO 639-2 code: "HMO", ISO 639-1 code: "HO". + /// ISO 639-2/T code: "HMO", ISO 639-1 code: "HO". const LangHmo() : super( name: "Hiri Motu", code: "HMO", codeShort: "HO", namesNative: const ["Hiri Motu"], - bibliographicCode: null, family: const Austronesian(), - isRightToLeft: false, - scripts: const {ScriptLatn()}, ); @override @@ -1289,17 +1144,14 @@ class LangHmo extends NaturalLanguage { class LangHrv extends NaturalLanguage { /// Creates a instance of [LangHrv] (Croatian language). /// - /// ISO 639-2 code: "HRV", ISO 639-1 code: "HR". + /// ISO 639-2/T code: "HRV", ISO 639-1 code: "HR". const LangHrv() : super( name: "Croatian", code: "HRV", codeShort: "HR", namesNative: const ["hrvatski jezik"], - bibliographicCode: null, family: const IndoEuropean(), - isRightToLeft: false, - scripts: const {ScriptLatn()}, ); @override @@ -1310,17 +1162,14 @@ class LangHrv extends NaturalLanguage { class LangHun extends NaturalLanguage { /// Creates a instance of [LangHun] (Hungarian language). /// - /// ISO 639-2 code: "HUN", ISO 639-1 code: "HU". + /// ISO 639-2/T code: "HUN", ISO 639-1 code: "HU". const LangHun() : super( name: "Hungarian", code: "HUN", codeShort: "HU", namesNative: const ["magyar"], - bibliographicCode: null, family: const Uralic(), - isRightToLeft: false, - scripts: const {ScriptLatn()}, ); @override @@ -1331,7 +1180,7 @@ class LangHun extends NaturalLanguage { class LangHye extends NaturalLanguage { /// Creates a instance of [LangHye] (Armenian language). /// - /// ISO 639-2 code: "HYE", ISO 639-1 code: "HY". + /// ISO 639-2/T code: "HYE", ISO 639-1 code: "HY". const LangHye() : super( name: "Armenian", @@ -1340,7 +1189,6 @@ class LangHye extends NaturalLanguage { namesNative: const ["Հայերեն"], bibliographicCode: "ARM", family: const IndoEuropean(), - isRightToLeft: false, scripts: const {ScriptArmn()}, ); @@ -1352,17 +1200,14 @@ class LangHye extends NaturalLanguage { class LangIbo extends NaturalLanguage { /// Creates a instance of [LangIbo] (Igbo language). /// - /// ISO 639-2 code: "IBO", ISO 639-1 code: "IG". + /// ISO 639-2/T code: "IBO", ISO 639-1 code: "IG". const LangIbo() : super( name: "Igbo", code: "IBO", codeShort: "IG", namesNative: const ["Asụsụ Igbo"], - bibliographicCode: null, family: const NigerCongo(), - isRightToLeft: false, - scripts: const {ScriptLatn()}, ); @override @@ -1373,17 +1218,14 @@ class LangIbo extends NaturalLanguage { class LangIdo extends NaturalLanguage { /// Creates a instance of [LangIdo] (Ido language). /// - /// ISO 639-2 code: "IDO", ISO 639-1 code: "IO". + /// ISO 639-2/T code: "IDO", ISO 639-1 code: "IO". const LangIdo() : super( name: "Ido", code: "IDO", codeShort: "IO", namesNative: const ["Ido"], - bibliographicCode: null, family: const Constructed(), - isRightToLeft: false, - scripts: const {ScriptLatn()}, ); @override @@ -1394,16 +1236,14 @@ class LangIdo extends NaturalLanguage { class LangIii extends NaturalLanguage { /// Creates a instance of [LangIii] (Nuosu language). /// - /// ISO 639-2 code: "III", ISO 639-1 code: "II". + /// ISO 639-2/T code: "III", ISO 639-1 code: "II". const LangIii() : super( name: "Nuosu", code: "III", codeShort: "II", namesNative: const ["ꆈꌠ꒿ Nuosuhxop"], - bibliographicCode: null, family: const SinoTibetan(), - isRightToLeft: false, scripts: const {ScriptYiii()}, ); @@ -1415,17 +1255,14 @@ class LangIii extends NaturalLanguage { class LangIku extends NaturalLanguage { /// Creates a instance of [LangIku] (Inuktitut language). /// - /// ISO 639-2 code: "IKU", ISO 639-1 code: "IU". + /// ISO 639-2/T code: "IKU", ISO 639-1 code: "IU". const LangIku() : super( name: "Inuktitut", code: "IKU", codeShort: "IU", namesNative: const ["ᐃᓄᒃᑎᑐᑦ"], - bibliographicCode: null, family: const EskimoAleut(), - isRightToLeft: false, - scripts: const {ScriptLatn()}, ); @override @@ -1436,17 +1273,14 @@ class LangIku extends NaturalLanguage { class LangIle extends NaturalLanguage { /// Creates a instance of [LangIle] (Interlingue language). /// - /// ISO 639-2 code: "ILE", ISO 639-1 code: "IE". + /// ISO 639-2/T code: "ILE", ISO 639-1 code: "IE". const LangIle() : super( name: "Interlingue", code: "ILE", codeShort: "IE", namesNative: const ["Interlingue", "Occidental"], - bibliographicCode: null, family: const Constructed(), - isRightToLeft: false, - scripts: const {ScriptLatn()}, ); @override @@ -1457,17 +1291,14 @@ class LangIle extends NaturalLanguage { class LangIna extends NaturalLanguage { /// Creates a instance of [LangIna] (Interlingua language). /// - /// ISO 639-2 code: "INA", ISO 639-1 code: "IA". + /// ISO 639-2/T code: "INA", ISO 639-1 code: "IA". const LangIna() : super( name: "Interlingua", code: "INA", codeShort: "IA", namesNative: const ["Interlingua"], - bibliographicCode: null, family: const Constructed(), - isRightToLeft: false, - scripts: const {ScriptLatn()}, ); @override @@ -1478,17 +1309,14 @@ class LangIna extends NaturalLanguage { class LangInd extends NaturalLanguage { /// Creates a instance of [LangInd] (Indonesian language). /// - /// ISO 639-2 code: "IND", ISO 639-1 code: "ID". + /// ISO 639-2/T code: "IND", ISO 639-1 code: "ID". const LangInd() : super( name: "Indonesian", code: "IND", codeShort: "ID", namesNative: const ["Bahasa Indonesia"], - bibliographicCode: null, family: const Austronesian(), - isRightToLeft: false, - scripts: const {ScriptLatn()}, ); @override @@ -1499,17 +1327,14 @@ class LangInd extends NaturalLanguage { class LangIpk extends NaturalLanguage { /// Creates a instance of [LangIpk] (Inupiaq language). /// - /// ISO 639-2 code: "IPK", ISO 639-1 code: "IK". + /// ISO 639-2/T code: "IPK", ISO 639-1 code: "IK". const LangIpk() : super( name: "Inupiaq", code: "IPK", codeShort: "IK", namesNative: const ["Iñupiaq", "Iñupiatun"], - bibliographicCode: null, family: const EskimoAleut(), - isRightToLeft: false, - scripts: const {ScriptLatn()}, ); @override @@ -1520,7 +1345,7 @@ class LangIpk extends NaturalLanguage { class LangIsl extends NaturalLanguage { /// Creates a instance of [LangIsl] (Icelandic language). /// - /// ISO 639-2 code: "ISL", ISO 639-1 code: "IS". + /// ISO 639-2/T code: "ISL", ISO 639-1 code: "IS". const LangIsl() : super( name: "Icelandic", @@ -1529,8 +1354,6 @@ class LangIsl extends NaturalLanguage { namesNative: const ["Íslenska"], bibliographicCode: "ICE", family: const IndoEuropean(), - isRightToLeft: false, - scripts: const {ScriptLatn()}, ); @override @@ -1541,17 +1364,14 @@ class LangIsl extends NaturalLanguage { class LangIta extends NaturalLanguage { /// Creates a instance of [LangIta] (Italian language). /// - /// ISO 639-2 code: "ITA", ISO 639-1 code: "IT". + /// ISO 639-2/T code: "ITA", ISO 639-1 code: "IT". const LangIta() : super( name: "Italian", code: "ITA", codeShort: "IT", namesNative: const ["Italiano"], - bibliographicCode: null, family: const IndoEuropean(), - isRightToLeft: false, - scripts: const {ScriptLatn()}, ); @override @@ -1562,17 +1382,14 @@ class LangIta extends NaturalLanguage { class LangJav extends NaturalLanguage { /// Creates a instance of [LangJav] (Javanese language). /// - /// ISO 639-2 code: "JAV", ISO 639-1 code: "JV". + /// ISO 639-2/T code: "JAV", ISO 639-1 code: "JV". const LangJav() : super( name: "Javanese", code: "JAV", codeShort: "JV", namesNative: const ["ꦧꦱꦗꦮ", "Basa Jawa"], - bibliographicCode: null, family: const Austronesian(), - isRightToLeft: false, - scripts: const {ScriptLatn()}, ); @override @@ -1583,16 +1400,14 @@ class LangJav extends NaturalLanguage { class LangJpn extends NaturalLanguage { /// Creates a instance of [LangJpn] (Japanese language). /// - /// ISO 639-2 code: "JPN", ISO 639-1 code: "JA". + /// ISO 639-2/T code: "JPN", ISO 639-1 code: "JA". const LangJpn() : super( name: "Japanese", code: "JPN", codeShort: "JA", namesNative: const ["日本語 (にほんご)"], - bibliographicCode: null, family: const Japonic(), - isRightToLeft: false, scripts: const {ScriptJpan()}, ); @@ -1604,17 +1419,14 @@ class LangJpn extends NaturalLanguage { class LangKal extends NaturalLanguage { /// Creates a instance of [LangKal] (Kalaallisut (Greenlandic) language). /// - /// ISO 639-2 code: "KAL", ISO 639-1 code: "KL". + /// ISO 639-2/T code: "KAL", ISO 639-1 code: "KL". const LangKal() : super( name: "Kalaallisut (Greenlandic)", code: "KAL", codeShort: "KL", namesNative: const ["kalaallisut", "kalaallit oqaasii"], - bibliographicCode: null, family: const EskimoAleut(), - isRightToLeft: false, - scripts: const {ScriptLatn()}, ); @override @@ -1625,16 +1437,14 @@ class LangKal extends NaturalLanguage { class LangKan extends NaturalLanguage { /// Creates a instance of [LangKan] (Kannada language). /// - /// ISO 639-2 code: "KAN", ISO 639-1 code: "KN". + /// ISO 639-2/T code: "KAN", ISO 639-1 code: "KN". const LangKan() : super( name: "Kannada", code: "KAN", codeShort: "KN", namesNative: const ["ಕನ್ನಡ"], - bibliographicCode: null, family: const Dravidian(), - isRightToLeft: false, scripts: const {ScriptKnda()}, ); @@ -1646,14 +1456,13 @@ class LangKan extends NaturalLanguage { class LangKas extends NaturalLanguage { /// Creates a instance of [LangKas] (Kashmiri language). /// - /// ISO 639-2 code: "KAS", ISO 639-1 code: "KS". + /// ISO 639-2/T code: "KAS", ISO 639-1 code: "KS". const LangKas() : super( name: "Kashmiri", code: "KAS", codeShort: "KS", namesNative: const ["कश्मीरी", "كشميري‎"], - bibliographicCode: null, family: const IndoEuropean(), isRightToLeft: true, scripts: const {ScriptDeva()}, @@ -1667,7 +1476,7 @@ class LangKas extends NaturalLanguage { class LangKat extends NaturalLanguage { /// Creates a instance of [LangKat] (Georgian language). /// - /// ISO 639-2 code: "KAT", ISO 639-1 code: "KA". + /// ISO 639-2/T code: "KAT", ISO 639-1 code: "KA". const LangKat() : super( name: "Georgian", @@ -1676,7 +1485,6 @@ class LangKat extends NaturalLanguage { namesNative: const ["ქართული"], bibliographicCode: "GEO", family: const SouthCaucasian(), - isRightToLeft: false, scripts: const {ScriptGeor()}, ); @@ -1688,17 +1496,14 @@ class LangKat extends NaturalLanguage { class LangKau extends NaturalLanguage { /// Creates a instance of [LangKau] (Kanuri language). /// - /// ISO 639-2 code: "KAU", ISO 639-1 code: "KR". + /// ISO 639-2/T code: "KAU", ISO 639-1 code: "KR". const LangKau() : super( name: "Kanuri", code: "KAU", codeShort: "KR", namesNative: const ["Kanuri"], - bibliographicCode: null, family: const NiloSaharan(), - isRightToLeft: false, - scripts: const {ScriptLatn()}, ); @override @@ -1709,16 +1514,14 @@ class LangKau extends NaturalLanguage { class LangKaz extends NaturalLanguage { /// Creates a instance of [LangKaz] (Kazakh language). /// - /// ISO 639-2 code: "KAZ", ISO 639-1 code: "KK". + /// ISO 639-2/T code: "KAZ", ISO 639-1 code: "KK". const LangKaz() : super( name: "Kazakh", code: "KAZ", codeShort: "KK", namesNative: const ["қазақ тілі"], - bibliographicCode: null, family: const Turkic(), - isRightToLeft: false, scripts: const {ScriptCyrl()}, ); @@ -1730,16 +1533,14 @@ class LangKaz extends NaturalLanguage { class LangKhm extends NaturalLanguage { /// Creates a instance of [LangKhm] (Khmer language). /// - /// ISO 639-2 code: "KHM", ISO 639-1 code: "KM". + /// ISO 639-2/T code: "KHM", ISO 639-1 code: "KM". const LangKhm() : super( name: "Khmer", code: "KHM", codeShort: "KM", namesNative: const ["ខ្មែរ", "ខេមរភាសា", "ភាសាខ្មែរ"], - bibliographicCode: null, family: const Austroasiatic(), - isRightToLeft: false, scripts: const {ScriptKhmr()}, ); @@ -1751,17 +1552,14 @@ class LangKhm extends NaturalLanguage { class LangKik extends NaturalLanguage { /// Creates a instance of [LangKik] (Kikuyu (Gikuyu) language). /// - /// ISO 639-2 code: "KIK", ISO 639-1 code: "KI". + /// ISO 639-2/T code: "KIK", ISO 639-1 code: "KI". const LangKik() : super( name: "Kikuyu (Gikuyu)", code: "KIK", codeShort: "KI", namesNative: const ["Gĩkũyũ"], - bibliographicCode: null, family: const NigerCongo(), - isRightToLeft: false, - scripts: const {ScriptLatn()}, ); @override @@ -1772,17 +1570,14 @@ class LangKik extends NaturalLanguage { class LangKin extends NaturalLanguage { /// Creates a instance of [LangKin] (Kinyarwanda language). /// - /// ISO 639-2 code: "KIN", ISO 639-1 code: "RW". + /// ISO 639-2/T code: "KIN", ISO 639-1 code: "RW". const LangKin() : super( name: "Kinyarwanda", code: "KIN", codeShort: "RW", namesNative: const ["Ikinyarwanda"], - bibliographicCode: null, family: const NigerCongo(), - isRightToLeft: false, - scripts: const {ScriptLatn()}, ); @override @@ -1793,16 +1588,14 @@ class LangKin extends NaturalLanguage { class LangKir extends NaturalLanguage { /// Creates a instance of [LangKir] (Kyrgyz language). /// - /// ISO 639-2 code: "KIR", ISO 639-1 code: "KY". + /// ISO 639-2/T code: "KIR", ISO 639-1 code: "KY". const LangKir() : super( name: "Kyrgyz", code: "KIR", codeShort: "KY", namesNative: const ["Кыргызча", "Кыргыз тили"], - bibliographicCode: null, family: const Turkic(), - isRightToLeft: false, scripts: const {ScriptCyrl()}, ); @@ -1814,16 +1607,14 @@ class LangKir extends NaturalLanguage { class LangKom extends NaturalLanguage { /// Creates a instance of [LangKom] (Komi language). /// - /// ISO 639-2 code: "KOM", ISO 639-1 code: "KV". + /// ISO 639-2/T code: "KOM", ISO 639-1 code: "KV". const LangKom() : super( name: "Komi", code: "KOM", codeShort: "KV", namesNative: const ["коми кыв"], - bibliographicCode: null, family: const Uralic(), - isRightToLeft: false, scripts: const {ScriptCyrl()}, ); @@ -1835,17 +1626,14 @@ class LangKom extends NaturalLanguage { class LangKon extends NaturalLanguage { /// Creates a instance of [LangKon] (Kongo language). /// - /// ISO 639-2 code: "KON", ISO 639-1 code: "KG". + /// ISO 639-2/T code: "KON", ISO 639-1 code: "KG". const LangKon() : super( name: "Kongo", code: "KON", codeShort: "KG", namesNative: const ["Kikongo"], - bibliographicCode: null, family: const NigerCongo(), - isRightToLeft: false, - scripts: const {ScriptLatn()}, ); @override @@ -1856,16 +1644,14 @@ class LangKon extends NaturalLanguage { class LangKor extends NaturalLanguage { /// Creates a instance of [LangKor] (Korean language). /// - /// ISO 639-2 code: "KOR", ISO 639-1 code: "KO". + /// ISO 639-2/T code: "KOR", ISO 639-1 code: "KO". const LangKor() : super( name: "Korean", code: "KOR", codeShort: "KO", namesNative: const ["한국어"], - bibliographicCode: null, family: const Koreanic(), - isRightToLeft: false, scripts: const {ScriptKore()}, ); @@ -1877,17 +1663,14 @@ class LangKor extends NaturalLanguage { class LangKua extends NaturalLanguage { /// Creates a instance of [LangKua] (Kwanyama (Kuanyama) language). /// - /// ISO 639-2 code: "KUA", ISO 639-1 code: "KJ". + /// ISO 639-2/T code: "KUA", ISO 639-1 code: "KJ". const LangKua() : super( name: "Kwanyama (Kuanyama)", code: "KUA", codeShort: "KJ", namesNative: const ["Kuanyama"], - bibliographicCode: null, family: const NigerCongo(), - isRightToLeft: false, - scripts: const {ScriptLatn()}, ); @override @@ -1898,14 +1681,13 @@ class LangKua extends NaturalLanguage { class LangKur extends NaturalLanguage { /// Creates a instance of [LangKur] (Kurdish language). /// - /// ISO 639-2 code: "KUR", ISO 639-1 code: "KU". + /// ISO 639-2/T code: "KUR", ISO 639-1 code: "KU". const LangKur() : super( name: "Kurdish", code: "KUR", codeShort: "KU", namesNative: const ["Kurdî", "كوردی‎"], - bibliographicCode: null, family: const IndoEuropean(), isRightToLeft: true, scripts: const {ScriptArab(), ScriptLatn()}, @@ -1919,16 +1701,14 @@ class LangKur extends NaturalLanguage { class LangLao extends NaturalLanguage { /// Creates a instance of [LangLao] (Lao language). /// - /// ISO 639-2 code: "LAO", ISO 639-1 code: "LO". + /// ISO 639-2/T code: "LAO", ISO 639-1 code: "LO". const LangLao() : super( name: "Lao", code: "LAO", codeShort: "LO", namesNative: const ["ພາສາລາວ"], - bibliographicCode: null, family: const TaiKadai(), - isRightToLeft: false, scripts: const {ScriptLaoo()}, ); @@ -1940,17 +1720,14 @@ class LangLao extends NaturalLanguage { class LangLat extends NaturalLanguage { /// Creates a instance of [LangLat] (Latin language). /// - /// ISO 639-2 code: "LAT", ISO 639-1 code: "LA". + /// ISO 639-2/T code: "LAT", ISO 639-1 code: "LA". const LangLat() : super( name: "Latin", code: "LAT", codeShort: "LA", namesNative: const ["latine", "lingua latina"], - bibliographicCode: null, family: const IndoEuropean(), - isRightToLeft: false, - scripts: const {ScriptLatn()}, ); @override @@ -1961,17 +1738,14 @@ class LangLat extends NaturalLanguage { class LangLav extends NaturalLanguage { /// Creates a instance of [LangLav] (Latvian language). /// - /// ISO 639-2 code: "LAV", ISO 639-1 code: "LV". + /// ISO 639-2/T code: "LAV", ISO 639-1 code: "LV". const LangLav() : super( name: "Latvian", code: "LAV", codeShort: "LV", namesNative: const ["latviešu valoda"], - bibliographicCode: null, family: const IndoEuropean(), - isRightToLeft: false, - scripts: const {ScriptLatn()}, ); @override @@ -1982,17 +1756,14 @@ class LangLav extends NaturalLanguage { class LangLim extends NaturalLanguage { /// Creates a instance of [LangLim] (Limburgish (Limburgan/Limburger) language). /// - /// ISO 639-2 code: "LIM", ISO 639-1 code: "LI". + /// ISO 639-2/T code: "LIM", ISO 639-1 code: "LI". const LangLim() : super( name: "Limburgish (Limburgan/Limburger)", code: "LIM", codeShort: "LI", namesNative: const ["Limburgs"], - bibliographicCode: null, family: const IndoEuropean(), - isRightToLeft: false, - scripts: const {ScriptLatn()}, ); @override @@ -2003,17 +1774,14 @@ class LangLim extends NaturalLanguage { class LangLin extends NaturalLanguage { /// Creates a instance of [LangLin] (Lingala language). /// - /// ISO 639-2 code: "LIN", ISO 639-1 code: "LN". + /// ISO 639-2/T code: "LIN", ISO 639-1 code: "LN". const LangLin() : super( name: "Lingala", code: "LIN", codeShort: "LN", namesNative: const ["Lingála"], - bibliographicCode: null, family: const NigerCongo(), - isRightToLeft: false, - scripts: const {ScriptLatn()}, ); @override @@ -2024,17 +1792,14 @@ class LangLin extends NaturalLanguage { class LangLit extends NaturalLanguage { /// Creates a instance of [LangLit] (Lithuanian language). /// - /// ISO 639-2 code: "LIT", ISO 639-1 code: "LT". + /// ISO 639-2/T code: "LIT", ISO 639-1 code: "LT". const LangLit() : super( name: "Lithuanian", code: "LIT", codeShort: "LT", namesNative: const ["lietuvių kalba"], - bibliographicCode: null, family: const IndoEuropean(), - isRightToLeft: false, - scripts: const {ScriptLatn()}, ); @override @@ -2045,17 +1810,14 @@ class LangLit extends NaturalLanguage { class LangLtz extends NaturalLanguage { /// Creates a instance of [LangLtz] (Luxembourgish (Letzeburgesch) language). /// - /// ISO 639-2 code: "LTZ", ISO 639-1 code: "LB". + /// ISO 639-2/T code: "LTZ", ISO 639-1 code: "LB". const LangLtz() : super( name: "Luxembourgish (Letzeburgesch)", code: "LTZ", codeShort: "LB", namesNative: const ["Lëtzebuergesch"], - bibliographicCode: null, family: const IndoEuropean(), - isRightToLeft: false, - scripts: const {ScriptLatn()}, ); @override @@ -2066,17 +1828,14 @@ class LangLtz extends NaturalLanguage { class LangLub extends NaturalLanguage { /// Creates a instance of [LangLub] (Luba-Katanga language). /// - /// ISO 639-2 code: "LUB", ISO 639-1 code: "LU". + /// ISO 639-2/T code: "LUB", ISO 639-1 code: "LU". const LangLub() : super( name: "Luba-Katanga", code: "LUB", codeShort: "LU", namesNative: const ["Tshiluba"], - bibliographicCode: null, family: const NigerCongo(), - isRightToLeft: false, - scripts: const {ScriptLatn()}, ); @override @@ -2087,17 +1846,14 @@ class LangLub extends NaturalLanguage { class LangLug extends NaturalLanguage { /// Creates a instance of [LangLug] (Ganda language). /// - /// ISO 639-2 code: "LUG", ISO 639-1 code: "LG". + /// ISO 639-2/T code: "LUG", ISO 639-1 code: "LG". const LangLug() : super( name: "Ganda", code: "LUG", codeShort: "LG", namesNative: const ["Luganda"], - bibliographicCode: null, family: const NigerCongo(), - isRightToLeft: false, - scripts: const {ScriptLatn()}, ); @override @@ -2108,17 +1864,14 @@ class LangLug extends NaturalLanguage { class LangMah extends NaturalLanguage { /// Creates a instance of [LangMah] (Marshallese language). /// - /// ISO 639-2 code: "MAH", ISO 639-1 code: "MH". + /// ISO 639-2/T code: "MAH", ISO 639-1 code: "MH". const LangMah() : super( name: "Marshallese", code: "MAH", codeShort: "MH", namesNative: const ["Kajin M̧ajeļ"], - bibliographicCode: null, family: const Austronesian(), - isRightToLeft: false, - scripts: const {ScriptLatn()}, ); @override @@ -2129,16 +1882,14 @@ class LangMah extends NaturalLanguage { class LangMal extends NaturalLanguage { /// Creates a instance of [LangMal] (Malayalam language). /// - /// ISO 639-2 code: "MAL", ISO 639-1 code: "ML". + /// ISO 639-2/T code: "MAL", ISO 639-1 code: "ML". const LangMal() : super( name: "Malayalam", code: "MAL", codeShort: "ML", namesNative: const ["മലയാളം"], - bibliographicCode: null, family: const Dravidian(), - isRightToLeft: false, scripts: const {ScriptMlym()}, ); @@ -2150,16 +1901,14 @@ class LangMal extends NaturalLanguage { class LangMar extends NaturalLanguage { /// Creates a instance of [LangMar] (Marathi (Marāṭhī) language). /// - /// ISO 639-2 code: "MAR", ISO 639-1 code: "MR". + /// ISO 639-2/T code: "MAR", ISO 639-1 code: "MR". const LangMar() : super( name: "Marathi (Marāṭhī)", code: "MAR", codeShort: "MR", namesNative: const ["मराठी"], - bibliographicCode: null, family: const IndoEuropean(), - isRightToLeft: false, scripts: const {ScriptDeva()}, ); @@ -2171,7 +1920,7 @@ class LangMar extends NaturalLanguage { class LangMkd extends NaturalLanguage { /// Creates a instance of [LangMkd] (Macedonian language). /// - /// ISO 639-2 code: "MKD", ISO 639-1 code: "MK". + /// ISO 639-2/T code: "MKD", ISO 639-1 code: "MK". const LangMkd() : super( name: "Macedonian", @@ -2180,7 +1929,6 @@ class LangMkd extends NaturalLanguage { namesNative: const ["македонски јазик"], bibliographicCode: "MAC", family: const IndoEuropean(), - isRightToLeft: false, scripts: const {ScriptCyrl()}, ); @@ -2192,17 +1940,14 @@ class LangMkd extends NaturalLanguage { class LangMlg extends NaturalLanguage { /// Creates a instance of [LangMlg] (Malagasy language). /// - /// ISO 639-2 code: "MLG", ISO 639-1 code: "MG". + /// ISO 639-2/T code: "MLG", ISO 639-1 code: "MG". const LangMlg() : super( name: "Malagasy", code: "MLG", codeShort: "MG", namesNative: const ["fiteny malagasy"], - bibliographicCode: null, family: const Austronesian(), - isRightToLeft: false, - scripts: const {ScriptLatn()}, ); @override @@ -2213,17 +1958,14 @@ class LangMlg extends NaturalLanguage { class LangMlt extends NaturalLanguage { /// Creates a instance of [LangMlt] (Maltese language). /// - /// ISO 639-2 code: "MLT", ISO 639-1 code: "MT". + /// ISO 639-2/T code: "MLT", ISO 639-1 code: "MT". const LangMlt() : super( name: "Maltese", code: "MLT", codeShort: "MT", namesNative: const ["Malti"], - bibliographicCode: null, family: const AfroAsiatic(), - isRightToLeft: false, - scripts: const {ScriptLatn()}, ); @override @@ -2234,16 +1976,14 @@ class LangMlt extends NaturalLanguage { class LangMon extends NaturalLanguage { /// Creates a instance of [LangMon] (Mongolian language). /// - /// ISO 639-2 code: "MON", ISO 639-1 code: "MN". + /// ISO 639-2/T code: "MON", ISO 639-1 code: "MN". const LangMon() : super( name: "Mongolian", code: "MON", codeShort: "MN", namesNative: const ["Монгол хэл"], - bibliographicCode: null, family: const Mongolic(), - isRightToLeft: false, scripts: const {ScriptCyrl()}, ); @@ -2255,7 +1995,7 @@ class LangMon extends NaturalLanguage { class LangMri extends NaturalLanguage { /// Creates a instance of [LangMri] (Māori language). /// - /// ISO 639-2 code: "MRI", ISO 639-1 code: "MI". + /// ISO 639-2/T code: "MRI", ISO 639-1 code: "MI". const LangMri() : super( name: "Māori", @@ -2264,8 +2004,6 @@ class LangMri extends NaturalLanguage { namesNative: const ["te reo Māori"], bibliographicCode: "MAO", family: const Austronesian(), - isRightToLeft: false, - scripts: const {ScriptLatn()}, ); @override @@ -2276,7 +2014,7 @@ class LangMri extends NaturalLanguage { class LangMsa extends NaturalLanguage { /// Creates a instance of [LangMsa] (Malay language). /// - /// ISO 639-2 code: "MSA", ISO 639-1 code: "MS". + /// ISO 639-2/T code: "MSA", ISO 639-1 code: "MS". const LangMsa() : super( name: "Malay", @@ -2285,7 +2023,6 @@ class LangMsa extends NaturalLanguage { namesNative: const ["bahasa Melayu", "بهاس ملايو‎"], bibliographicCode: "MAY", family: const Austronesian(), - isRightToLeft: false, scripts: const {ScriptArab()}, ); @@ -2297,7 +2034,7 @@ class LangMsa extends NaturalLanguage { class LangMya extends NaturalLanguage { /// Creates a instance of [LangMya] (Burmese language). /// - /// ISO 639-2 code: "MYA", ISO 639-1 code: "MY". + /// ISO 639-2/T code: "MYA", ISO 639-1 code: "MY". const LangMya() : super( name: "Burmese", @@ -2306,7 +2043,6 @@ class LangMya extends NaturalLanguage { namesNative: const ["ဗမာစာ"], bibliographicCode: "BUR", family: const SinoTibetan(), - isRightToLeft: false, scripts: const {ScriptMymr()}, ); @@ -2318,17 +2054,14 @@ class LangMya extends NaturalLanguage { class LangNau extends NaturalLanguage { /// Creates a instance of [LangNau] (Nauruan language). /// - /// ISO 639-2 code: "NAU", ISO 639-1 code: "NA". + /// ISO 639-2/T code: "NAU", ISO 639-1 code: "NA". const LangNau() : super( name: "Nauruan", code: "NAU", codeShort: "NA", namesNative: const ["Dorerin Naoero"], - bibliographicCode: null, family: const Austronesian(), - isRightToLeft: false, - scripts: const {ScriptLatn()}, ); @override @@ -2339,17 +2072,14 @@ class LangNau extends NaturalLanguage { class LangNav extends NaturalLanguage { /// Creates a instance of [LangNav] (Navajo (Navaho) language). /// - /// ISO 639-2 code: "NAV", ISO 639-1 code: "NV". + /// ISO 639-2/T code: "NAV", ISO 639-1 code: "NV". const LangNav() : super( name: "Navajo (Navaho)", code: "NAV", codeShort: "NV", namesNative: const ["Diné bizaad"], - bibliographicCode: null, family: const DeneYeniseian(), - isRightToLeft: false, - scripts: const {ScriptLatn()}, ); @override @@ -2360,17 +2090,14 @@ class LangNav extends NaturalLanguage { class LangNbl extends NaturalLanguage { /// Creates a instance of [LangNbl] (Southern Ndebele language). /// - /// ISO 639-2 code: "NBL", ISO 639-1 code: "NR". + /// ISO 639-2/T code: "NBL", ISO 639-1 code: "NR". const LangNbl() : super( name: "Southern Ndebele", code: "NBL", codeShort: "NR", namesNative: const ["isiNdebele"], - bibliographicCode: null, family: const NigerCongo(), - isRightToLeft: false, - scripts: const {ScriptLatn()}, ); @override @@ -2381,17 +2108,14 @@ class LangNbl extends NaturalLanguage { class LangNde extends NaturalLanguage { /// Creates a instance of [LangNde] (Northern Ndebele language). /// - /// ISO 639-2 code: "NDE", ISO 639-1 code: "ND". + /// ISO 639-2/T code: "NDE", ISO 639-1 code: "ND". const LangNde() : super( name: "Northern Ndebele", code: "NDE", codeShort: "ND", namesNative: const ["isiNdebele"], - bibliographicCode: null, family: const NigerCongo(), - isRightToLeft: false, - scripts: const {ScriptLatn()}, ); @override @@ -2402,17 +2126,14 @@ class LangNde extends NaturalLanguage { class LangNdo extends NaturalLanguage { /// Creates a instance of [LangNdo] (Ndonga language). /// - /// ISO 639-2 code: "NDO", ISO 639-1 code: "NG". + /// ISO 639-2/T code: "NDO", ISO 639-1 code: "NG". const LangNdo() : super( name: "Ndonga", code: "NDO", codeShort: "NG", namesNative: const ["Owambo"], - bibliographicCode: null, family: const NigerCongo(), - isRightToLeft: false, - scripts: const {ScriptLatn()}, ); @override @@ -2423,16 +2144,14 @@ class LangNdo extends NaturalLanguage { class LangNep extends NaturalLanguage { /// Creates a instance of [LangNep] (Nepali language). /// - /// ISO 639-2 code: "NEP", ISO 639-1 code: "NE". + /// ISO 639-2/T code: "NEP", ISO 639-1 code: "NE". const LangNep() : super( name: "Nepali", code: "NEP", codeShort: "NE", namesNative: const ["नेपाली"], - bibliographicCode: null, family: const IndoEuropean(), - isRightToLeft: false, scripts: const {ScriptDeva()}, ); @@ -2444,7 +2163,7 @@ class LangNep extends NaturalLanguage { class LangNld extends NaturalLanguage { /// Creates a instance of [LangNld] (Dutch language). /// - /// ISO 639-2 code: "NLD", ISO 639-1 code: "NL". + /// ISO 639-2/T code: "NLD", ISO 639-1 code: "NL". const LangNld() : super( name: "Dutch", @@ -2453,8 +2172,6 @@ class LangNld extends NaturalLanguage { namesNative: const ["Nederlands", "Vlaams"], bibliographicCode: "DUT", family: const IndoEuropean(), - isRightToLeft: false, - scripts: const {ScriptLatn()}, ); @override @@ -2465,17 +2182,14 @@ class LangNld extends NaturalLanguage { class LangNno extends NaturalLanguage { /// Creates a instance of [LangNno] (Norwegian Nynorsk language). /// - /// ISO 639-2 code: "NNO", ISO 639-1 code: "NN". + /// ISO 639-2/T code: "NNO", ISO 639-1 code: "NN". const LangNno() : super( name: "Norwegian Nynorsk", code: "NNO", codeShort: "NN", namesNative: const ["Norsk nynorsk"], - bibliographicCode: null, family: const IndoEuropean(), - isRightToLeft: false, - scripts: const {ScriptLatn()}, ); @override @@ -2486,17 +2200,14 @@ class LangNno extends NaturalLanguage { class LangNob extends NaturalLanguage { /// Creates a instance of [LangNob] (Norwegian Bokmål language). /// - /// ISO 639-2 code: "NOB", ISO 639-1 code: "NB". + /// ISO 639-2/T code: "NOB", ISO 639-1 code: "NB". const LangNob() : super( name: "Norwegian Bokmål", code: "NOB", codeShort: "NB", namesNative: const ["Norsk bokmål"], - bibliographicCode: null, family: const IndoEuropean(), - isRightToLeft: false, - scripts: const {ScriptLatn()}, ); @override @@ -2507,17 +2218,14 @@ class LangNob extends NaturalLanguage { class LangNor extends NaturalLanguage { /// Creates a instance of [LangNor] (Norwegian language). /// - /// ISO 639-2 code: "NOR", ISO 639-1 code: "NO". + /// ISO 639-2/T code: "NOR", ISO 639-1 code: "NO". const LangNor() : super( name: "Norwegian", code: "NOR", codeShort: "NO", namesNative: const ["Norsk"], - bibliographicCode: null, family: const IndoEuropean(), - isRightToLeft: false, - scripts: const {ScriptLatn()}, ); @override @@ -2528,17 +2236,14 @@ class LangNor extends NaturalLanguage { class LangNya extends NaturalLanguage { /// Creates a instance of [LangNya] (Chichewa (Chewa/Nyanja) language). /// - /// ISO 639-2 code: "NYA", ISO 639-1 code: "NY". + /// ISO 639-2/T code: "NYA", ISO 639-1 code: "NY". const LangNya() : super( name: "Chichewa (Chewa/Nyanja)", code: "NYA", codeShort: "NY", namesNative: const ["chiCheŵa", "chinyanja"], - bibliographicCode: null, family: const NigerCongo(), - isRightToLeft: false, - scripts: const {ScriptLatn()}, ); @override @@ -2549,17 +2254,14 @@ class LangNya extends NaturalLanguage { class LangOci extends NaturalLanguage { /// Creates a instance of [LangOci] (Occitan language). /// - /// ISO 639-2 code: "OCI", ISO 639-1 code: "OC". + /// ISO 639-2/T code: "OCI", ISO 639-1 code: "OC". const LangOci() : super( name: "Occitan", code: "OCI", codeShort: "OC", namesNative: const ["occitan", "lenga d'òc"], - bibliographicCode: null, family: const IndoEuropean(), - isRightToLeft: false, - scripts: const {ScriptLatn()}, ); @override @@ -2570,17 +2272,14 @@ class LangOci extends NaturalLanguage { class LangOji extends NaturalLanguage { /// Creates a instance of [LangOji] (Ojibwe (Ojibwa) language). /// - /// ISO 639-2 code: "OJI", ISO 639-1 code: "OJ". + /// ISO 639-2/T code: "OJI", ISO 639-1 code: "OJ". const LangOji() : super( name: "Ojibwe (Ojibwa)", code: "OJI", codeShort: "OJ", namesNative: const ["ᐊᓂᔑᓈᐯᒧᐎᓐ"], - bibliographicCode: null, family: const Algonquian(), - isRightToLeft: false, - scripts: const {ScriptLatn()}, ); @override @@ -2591,16 +2290,14 @@ class LangOji extends NaturalLanguage { class LangOri extends NaturalLanguage { /// Creates a instance of [LangOri] (Oriya language). /// - /// ISO 639-2 code: "ORI", ISO 639-1 code: "OR". + /// ISO 639-2/T code: "ORI", ISO 639-1 code: "OR". const LangOri() : super( name: "Oriya", code: "ORI", codeShort: "OR", namesNative: const ["ଓଡ଼ିଆ"], - bibliographicCode: null, family: const IndoEuropean(), - isRightToLeft: false, scripts: const {ScriptOrya()}, ); @@ -2612,17 +2309,14 @@ class LangOri extends NaturalLanguage { class LangOrm extends NaturalLanguage { /// Creates a instance of [LangOrm] (Oromo language). /// - /// ISO 639-2 code: "ORM", ISO 639-1 code: "OM". + /// ISO 639-2/T code: "ORM", ISO 639-1 code: "OM". const LangOrm() : super( name: "Oromo", code: "ORM", codeShort: "OM", namesNative: const ["Afaan Oromoo"], - bibliographicCode: null, family: const AfroAsiatic(), - isRightToLeft: false, - scripts: const {ScriptLatn()}, ); @override @@ -2633,16 +2327,14 @@ class LangOrm extends NaturalLanguage { class LangOss extends NaturalLanguage { /// Creates a instance of [LangOss] (Ossetian (Ossetic) language). /// - /// ISO 639-2 code: "OSS", ISO 639-1 code: "OS". + /// ISO 639-2/T code: "OSS", ISO 639-1 code: "OS". const LangOss() : super( name: "Ossetian (Ossetic)", code: "OSS", codeShort: "OS", namesNative: const ["ирон æвзаг"], - bibliographicCode: null, family: const IndoEuropean(), - isRightToLeft: false, scripts: const {ScriptCyrl()}, ); @@ -2654,16 +2346,14 @@ class LangOss extends NaturalLanguage { class LangPan extends NaturalLanguage { /// Creates a instance of [LangPan] ((Eastern) Punjabi language). /// - /// ISO 639-2 code: "PAN", ISO 639-1 code: "PA". + /// ISO 639-2/T code: "PAN", ISO 639-1 code: "PA". const LangPan() : super( name: "(Eastern) Punjabi", code: "PAN", codeShort: "PA", namesNative: const ["ਪੰਜਾਬੀ"], - bibliographicCode: null, family: const IndoEuropean(), - isRightToLeft: false, scripts: const {ScriptGuru()}, ); @@ -2675,16 +2365,14 @@ class LangPan extends NaturalLanguage { class LangPli extends NaturalLanguage { /// Creates a instance of [LangPli] (Pāli language). /// - /// ISO 639-2 code: "PLI", ISO 639-1 code: "PI". + /// ISO 639-2/T code: "PLI", ISO 639-1 code: "PI". const LangPli() : super( name: "Pāli", code: "PLI", codeShort: "PI", namesNative: const ["पाऴि"], - bibliographicCode: null, family: const IndoEuropean(), - isRightToLeft: false, scripts: const { ScriptLatn(), ScriptBrah(), @@ -2702,17 +2390,14 @@ class LangPli extends NaturalLanguage { class LangPol extends NaturalLanguage { /// Creates a instance of [LangPol] (Polish language). /// - /// ISO 639-2 code: "POL", ISO 639-1 code: "PL". + /// ISO 639-2/T code: "POL", ISO 639-1 code: "PL". const LangPol() : super( name: "Polish", code: "POL", codeShort: "PL", namesNative: const ["polszczyzna"], - bibliographicCode: null, family: const IndoEuropean(), - isRightToLeft: false, - scripts: const {ScriptLatn()}, ); @override @@ -2723,17 +2408,14 @@ class LangPol extends NaturalLanguage { class LangPor extends NaturalLanguage { /// Creates a instance of [LangPor] (Portuguese language). /// - /// ISO 639-2 code: "POR", ISO 639-1 code: "PT". + /// ISO 639-2/T code: "POR", ISO 639-1 code: "PT". const LangPor() : super( name: "Portuguese", code: "POR", codeShort: "PT", namesNative: const ["Português"], - bibliographicCode: null, family: const IndoEuropean(), - isRightToLeft: false, - scripts: const {ScriptLatn()}, ); @override @@ -2744,14 +2426,13 @@ class LangPor extends NaturalLanguage { class LangPus extends NaturalLanguage { /// Creates a instance of [LangPus] (Pashto (Pushto) language). /// - /// ISO 639-2 code: "PUS", ISO 639-1 code: "PS". + /// ISO 639-2/T code: "PUS", ISO 639-1 code: "PS". const LangPus() : super( name: "Pashto (Pushto)", code: "PUS", codeShort: "PS", namesNative: const ["پښتو"], - bibliographicCode: null, family: const IndoEuropean(), isRightToLeft: true, scripts: const {ScriptArab()}, @@ -2765,17 +2446,14 @@ class LangPus extends NaturalLanguage { class LangQue extends NaturalLanguage { /// Creates a instance of [LangQue] (Quechua language). /// - /// ISO 639-2 code: "QUE", ISO 639-1 code: "QU". + /// ISO 639-2/T code: "QUE", ISO 639-1 code: "QU". const LangQue() : super( name: "Quechua", code: "QUE", codeShort: "QU", namesNative: const ["Runa Simi", "Kichwa"], - bibliographicCode: null, family: const Quechuan(), - isRightToLeft: false, - scripts: const {ScriptLatn()}, ); @override @@ -2786,17 +2464,14 @@ class LangQue extends NaturalLanguage { class LangRoh extends NaturalLanguage { /// Creates a instance of [LangRoh] (Romansh language). /// - /// ISO 639-2 code: "ROH", ISO 639-1 code: "RM". + /// ISO 639-2/T code: "ROH", ISO 639-1 code: "RM". const LangRoh() : super( name: "Romansh", code: "ROH", codeShort: "RM", namesNative: const ["rumantsch grischun"], - bibliographicCode: null, family: const IndoEuropean(), - isRightToLeft: false, - scripts: const {ScriptLatn()}, ); @override @@ -2807,7 +2482,7 @@ class LangRoh extends NaturalLanguage { class LangRon extends NaturalLanguage { /// Creates a instance of [LangRon] (Romanian language). /// - /// ISO 639-2 code: "RON", ISO 639-1 code: "RO". + /// ISO 639-2/T code: "RON", ISO 639-1 code: "RO". const LangRon() : super( name: "Romanian", @@ -2816,8 +2491,6 @@ class LangRon extends NaturalLanguage { namesNative: const ["Română"], bibliographicCode: "RUM", family: const IndoEuropean(), - isRightToLeft: false, - scripts: const {ScriptLatn()}, ); @override @@ -2828,17 +2501,14 @@ class LangRon extends NaturalLanguage { class LangRun extends NaturalLanguage { /// Creates a instance of [LangRun] (Kirundi language). /// - /// ISO 639-2 code: "RUN", ISO 639-1 code: "RN". + /// ISO 639-2/T code: "RUN", ISO 639-1 code: "RN". const LangRun() : super( name: "Kirundi", code: "RUN", codeShort: "RN", namesNative: const ["Ikirundi"], - bibliographicCode: null, family: const NigerCongo(), - isRightToLeft: false, - scripts: const {ScriptLatn()}, ); @override @@ -2849,16 +2519,14 @@ class LangRun extends NaturalLanguage { class LangRus extends NaturalLanguage { /// Creates a instance of [LangRus] (Russian language). /// - /// ISO 639-2 code: "RUS", ISO 639-1 code: "RU". + /// ISO 639-2/T code: "RUS", ISO 639-1 code: "RU". const LangRus() : super( name: "Russian", code: "RUS", codeShort: "RU", namesNative: const ["Русский"], - bibliographicCode: null, family: const IndoEuropean(), - isRightToLeft: false, scripts: const {ScriptCyrl()}, ); @@ -2870,17 +2538,14 @@ class LangRus extends NaturalLanguage { class LangSag extends NaturalLanguage { /// Creates a instance of [LangSag] (Sango language). /// - /// ISO 639-2 code: "SAG", ISO 639-1 code: "SG". + /// ISO 639-2/T code: "SAG", ISO 639-1 code: "SG". const LangSag() : super( name: "Sango", code: "SAG", codeShort: "SG", namesNative: const ["yângâ tî sängö"], - bibliographicCode: null, family: const Creole(), - isRightToLeft: false, - scripts: const {ScriptLatn()}, ); @override @@ -2891,16 +2556,14 @@ class LangSag extends NaturalLanguage { class LangSan extends NaturalLanguage { /// Creates a instance of [LangSan] (Sanskrit (Saṁskṛta) language). /// - /// ISO 639-2 code: "SAN", ISO 639-1 code: "SA". + /// ISO 639-2/T code: "SAN", ISO 639-1 code: "SA". const LangSan() : super( name: "Sanskrit (Saṁskṛta)", code: "SAN", codeShort: "SA", namesNative: const ["संस्कृतम्"], - bibliographicCode: null, family: const IndoEuropean(), - isRightToLeft: false, scripts: const {ScriptDeva()}, ); @@ -2912,16 +2575,14 @@ class LangSan extends NaturalLanguage { class LangSin extends NaturalLanguage { /// Creates a instance of [LangSin] (Sinhalese (Sinhala) language). /// - /// ISO 639-2 code: "SIN", ISO 639-1 code: "SI". + /// ISO 639-2/T code: "SIN", ISO 639-1 code: "SI". const LangSin() : super( name: "Sinhalese (Sinhala)", code: "SIN", codeShort: "SI", namesNative: const ["සිංහල"], - bibliographicCode: null, family: const IndoEuropean(), - isRightToLeft: false, scripts: const {ScriptSinh()}, ); @@ -2933,7 +2594,7 @@ class LangSin extends NaturalLanguage { class LangSlk extends NaturalLanguage { /// Creates a instance of [LangSlk] (Slovak language). /// - /// ISO 639-2 code: "SLK", ISO 639-1 code: "SK". + /// ISO 639-2/T code: "SLK", ISO 639-1 code: "SK". const LangSlk() : super( name: "Slovak", @@ -2942,8 +2603,6 @@ class LangSlk extends NaturalLanguage { namesNative: const ["slovenčina"], bibliographicCode: "SLO", family: const IndoEuropean(), - isRightToLeft: false, - scripts: const {ScriptLatn()}, ); @override @@ -2954,17 +2613,14 @@ class LangSlk extends NaturalLanguage { class LangSlv extends NaturalLanguage { /// Creates a instance of [LangSlv] (Slovene language). /// - /// ISO 639-2 code: "SLV", ISO 639-1 code: "SL". + /// ISO 639-2/T code: "SLV", ISO 639-1 code: "SL". const LangSlv() : super( name: "Slovene", code: "SLV", codeShort: "SL", namesNative: const ["slovenščina"], - bibliographicCode: null, family: const IndoEuropean(), - isRightToLeft: false, - scripts: const {ScriptLatn()}, ); @override @@ -2975,17 +2631,14 @@ class LangSlv extends NaturalLanguage { class LangSme extends NaturalLanguage { /// Creates a instance of [LangSme] (Northern Sami language). /// - /// ISO 639-2 code: "SME", ISO 639-1 code: "SE". + /// ISO 639-2/T code: "SME", ISO 639-1 code: "SE". const LangSme() : super( name: "Northern Sami", code: "SME", codeShort: "SE", namesNative: const ["Davvisámegiella"], - bibliographicCode: null, family: const Uralic(), - isRightToLeft: false, - scripts: const {ScriptLatn()}, ); @override @@ -2996,17 +2649,14 @@ class LangSme extends NaturalLanguage { class LangSmo extends NaturalLanguage { /// Creates a instance of [LangSmo] (Samoan language). /// - /// ISO 639-2 code: "SMO", ISO 639-1 code: "SM". + /// ISO 639-2/T code: "SMO", ISO 639-1 code: "SM". const LangSmo() : super( name: "Samoan", code: "SMO", codeShort: "SM", namesNative: const ["gagana fa'a Samoa"], - bibliographicCode: null, family: const Austronesian(), - isRightToLeft: false, - scripts: const {ScriptLatn()}, ); @override @@ -3017,17 +2667,14 @@ class LangSmo extends NaturalLanguage { class LangSna extends NaturalLanguage { /// Creates a instance of [LangSna] (Shona language). /// - /// ISO 639-2 code: "SNA", ISO 639-1 code: "SN". + /// ISO 639-2/T code: "SNA", ISO 639-1 code: "SN". const LangSna() : super( name: "Shona", code: "SNA", codeShort: "SN", namesNative: const ["chiShona"], - bibliographicCode: null, family: const NigerCongo(), - isRightToLeft: false, - scripts: const {ScriptLatn()}, ); @override @@ -3038,14 +2685,13 @@ class LangSna extends NaturalLanguage { class LangSnd extends NaturalLanguage { /// Creates a instance of [LangSnd] (Sindhi language). /// - /// ISO 639-2 code: "SND", ISO 639-1 code: "SD". + /// ISO 639-2/T code: "SND", ISO 639-1 code: "SD". const LangSnd() : super( name: "Sindhi", code: "SND", codeShort: "SD", namesNative: const ["सिन्धी", "سنڌي، سندھی‎"], - bibliographicCode: null, family: const IndoEuropean(), isRightToLeft: true, scripts: const {ScriptDeva()}, @@ -3059,17 +2705,14 @@ class LangSnd extends NaturalLanguage { class LangSom extends NaturalLanguage { /// Creates a instance of [LangSom] (Somali language). /// - /// ISO 639-2 code: "SOM", ISO 639-1 code: "SO". + /// ISO 639-2/T code: "SOM", ISO 639-1 code: "SO". const LangSom() : super( name: "Somali", code: "SOM", codeShort: "SO", namesNative: const ["Soomaaliga"], - bibliographicCode: null, family: const AfroAsiatic(), - isRightToLeft: false, - scripts: const {ScriptLatn()}, ); @override @@ -3080,17 +2723,14 @@ class LangSom extends NaturalLanguage { class LangSot extends NaturalLanguage { /// Creates a instance of [LangSot] (Southern Sotho language). /// - /// ISO 639-2 code: "SOT", ISO 639-1 code: "ST". + /// ISO 639-2/T code: "SOT", ISO 639-1 code: "ST". const LangSot() : super( name: "Southern Sotho", code: "SOT", codeShort: "ST", namesNative: const ["Sesotho"], - bibliographicCode: null, family: const NigerCongo(), - isRightToLeft: false, - scripts: const {ScriptLatn()}, ); @override @@ -3101,17 +2741,14 @@ class LangSot extends NaturalLanguage { class LangSpa extends NaturalLanguage { /// Creates a instance of [LangSpa] (Spanish language). /// - /// ISO 639-2 code: "SPA", ISO 639-1 code: "ES". + /// ISO 639-2/T code: "SPA", ISO 639-1 code: "ES". const LangSpa() : super( name: "Spanish", code: "SPA", codeShort: "ES", namesNative: const ["Español"], - bibliographicCode: null, family: const IndoEuropean(), - isRightToLeft: false, - scripts: const {ScriptLatn()}, ); @override @@ -3122,7 +2759,7 @@ class LangSpa extends NaturalLanguage { class LangSqi extends NaturalLanguage { /// Creates a instance of [LangSqi] (Albanian language). /// - /// ISO 639-2 code: "SQI", ISO 639-1 code: "SQ". + /// ISO 639-2/T code: "SQI", ISO 639-1 code: "SQ". const LangSqi() : super( name: "Albanian", @@ -3131,8 +2768,6 @@ class LangSqi extends NaturalLanguage { namesNative: const ["Shqip"], bibliographicCode: "ALB", family: const IndoEuropean(), - isRightToLeft: false, - scripts: const {ScriptLatn()}, ); @override @@ -3143,17 +2778,14 @@ class LangSqi extends NaturalLanguage { class LangSrd extends NaturalLanguage { /// Creates a instance of [LangSrd] (Sardinian language). /// - /// ISO 639-2 code: "SRD", ISO 639-1 code: "SC". + /// ISO 639-2/T code: "SRD", ISO 639-1 code: "SC". const LangSrd() : super( name: "Sardinian", code: "SRD", codeShort: "SC", namesNative: const ["sardu"], - bibliographicCode: null, family: const IndoEuropean(), - isRightToLeft: false, - scripts: const {ScriptLatn()}, ); @override @@ -3164,16 +2796,14 @@ class LangSrd extends NaturalLanguage { class LangSrp extends NaturalLanguage { /// Creates a instance of [LangSrp] (Serbian language). /// - /// ISO 639-2 code: "SRP", ISO 639-1 code: "SR". + /// ISO 639-2/T code: "SRP", ISO 639-1 code: "SR". const LangSrp() : super( name: "Serbian", code: "SRP", codeShort: "SR", namesNative: const ["српски језик"], - bibliographicCode: null, family: const IndoEuropean(), - isRightToLeft: false, scripts: const {ScriptCyrl(), ScriptLatn()}, ); @@ -3185,17 +2815,14 @@ class LangSrp extends NaturalLanguage { class LangSsw extends NaturalLanguage { /// Creates a instance of [LangSsw] (Swati language). /// - /// ISO 639-2 code: "SSW", ISO 639-1 code: "SS". + /// ISO 639-2/T code: "SSW", ISO 639-1 code: "SS". const LangSsw() : super( name: "Swati", code: "SSW", codeShort: "SS", namesNative: const ["SiSwati"], - bibliographicCode: null, family: const NigerCongo(), - isRightToLeft: false, - scripts: const {ScriptLatn()}, ); @override @@ -3206,17 +2833,14 @@ class LangSsw extends NaturalLanguage { class LangSun extends NaturalLanguage { /// Creates a instance of [LangSun] (Sundanese language). /// - /// ISO 639-2 code: "SUN", ISO 639-1 code: "SU". + /// ISO 639-2/T code: "SUN", ISO 639-1 code: "SU". const LangSun() : super( name: "Sundanese", code: "SUN", codeShort: "SU", namesNative: const ["Basa Sunda"], - bibliographicCode: null, family: const Austronesian(), - isRightToLeft: false, - scripts: const {ScriptLatn()}, ); @override @@ -3227,17 +2851,14 @@ class LangSun extends NaturalLanguage { class LangSwa extends NaturalLanguage { /// Creates a instance of [LangSwa] (Swahili language). /// - /// ISO 639-2 code: "SWA", ISO 639-1 code: "SW". + /// ISO 639-2/T code: "SWA", ISO 639-1 code: "SW". const LangSwa() : super( name: "Swahili", code: "SWA", codeShort: "SW", namesNative: const ["Kiswahili"], - bibliographicCode: null, family: const NigerCongo(), - isRightToLeft: false, - scripts: const {ScriptLatn()}, ); @override @@ -3248,17 +2869,14 @@ class LangSwa extends NaturalLanguage { class LangSwe extends NaturalLanguage { /// Creates a instance of [LangSwe] (Swedish language). /// - /// ISO 639-2 code: "SWE", ISO 639-1 code: "SV". + /// ISO 639-2/T code: "SWE", ISO 639-1 code: "SV". const LangSwe() : super( name: "Swedish", code: "SWE", codeShort: "SV", namesNative: const ["svenska"], - bibliographicCode: null, family: const IndoEuropean(), - isRightToLeft: false, - scripts: const {ScriptLatn()}, ); @override @@ -3269,17 +2887,14 @@ class LangSwe extends NaturalLanguage { class LangTah extends NaturalLanguage { /// Creates a instance of [LangTah] (Tahitian language). /// - /// ISO 639-2 code: "TAH", ISO 639-1 code: "TY". + /// ISO 639-2/T code: "TAH", ISO 639-1 code: "TY". const LangTah() : super( name: "Tahitian", code: "TAH", codeShort: "TY", namesNative: const ["Reo Tahiti"], - bibliographicCode: null, family: const Austronesian(), - isRightToLeft: false, - scripts: const {ScriptLatn()}, ); @override @@ -3290,16 +2905,14 @@ class LangTah extends NaturalLanguage { class LangTam extends NaturalLanguage { /// Creates a instance of [LangTam] (Tamil language). /// - /// ISO 639-2 code: "TAM", ISO 639-1 code: "TA". + /// ISO 639-2/T code: "TAM", ISO 639-1 code: "TA". const LangTam() : super( name: "Tamil", code: "TAM", codeShort: "TA", namesNative: const ["தமிழ்"], - bibliographicCode: null, family: const Dravidian(), - isRightToLeft: false, scripts: const {ScriptTaml()}, ); @@ -3311,16 +2924,14 @@ class LangTam extends NaturalLanguage { class LangTat extends NaturalLanguage { /// Creates a instance of [LangTat] (Tatar language). /// - /// ISO 639-2 code: "TAT", ISO 639-1 code: "TT". + /// ISO 639-2/T code: "TAT", ISO 639-1 code: "TT". const LangTat() : super( name: "Tatar", code: "TAT", codeShort: "TT", namesNative: const ["татар теле", "tatar tele"], - bibliographicCode: null, family: const Turkic(), - isRightToLeft: false, scripts: const {ScriptCyrl()}, ); @@ -3332,16 +2943,14 @@ class LangTat extends NaturalLanguage { class LangTel extends NaturalLanguage { /// Creates a instance of [LangTel] (Telugu language). /// - /// ISO 639-2 code: "TEL", ISO 639-1 code: "TE". + /// ISO 639-2/T code: "TEL", ISO 639-1 code: "TE". const LangTel() : super( name: "Telugu", code: "TEL", codeShort: "TE", namesNative: const ["తెలుగు"], - bibliographicCode: null, family: const Dravidian(), - isRightToLeft: false, scripts: const {ScriptTelu()}, ); @@ -3353,16 +2962,14 @@ class LangTel extends NaturalLanguage { class LangTgk extends NaturalLanguage { /// Creates a instance of [LangTgk] (Tajik language). /// - /// ISO 639-2 code: "TGK", ISO 639-1 code: "TG". + /// ISO 639-2/T code: "TGK", ISO 639-1 code: "TG". const LangTgk() : super( name: "Tajik", code: "TGK", codeShort: "TG", namesNative: const ["тоҷикӣ", "تاجیکی‎", "toçikī"], - bibliographicCode: null, family: const IndoEuropean(), - isRightToLeft: false, scripts: const {ScriptCyrl()}, ); @@ -3374,17 +2981,14 @@ class LangTgk extends NaturalLanguage { class LangTgl extends NaturalLanguage { /// Creates a instance of [LangTgl] (Tagalog language). /// - /// ISO 639-2 code: "TGL", ISO 639-1 code: "TL". + /// ISO 639-2/T code: "TGL", ISO 639-1 code: "TL". const LangTgl() : super( name: "Tagalog", code: "TGL", codeShort: "TL", namesNative: const ["Wikang Tagalog"], - bibliographicCode: null, family: const Austronesian(), - isRightToLeft: false, - scripts: const {ScriptLatn()}, ); @override @@ -3395,16 +2999,14 @@ class LangTgl extends NaturalLanguage { class LangTha extends NaturalLanguage { /// Creates a instance of [LangTha] (Thai language). /// - /// ISO 639-2 code: "THA", ISO 639-1 code: "TH". + /// ISO 639-2/T code: "THA", ISO 639-1 code: "TH". const LangTha() : super( name: "Thai", code: "THA", codeShort: "TH", namesNative: const ["ไทย"], - bibliographicCode: null, family: const TaiKadai(), - isRightToLeft: false, scripts: const {ScriptThai()}, ); @@ -3416,16 +3018,14 @@ class LangTha extends NaturalLanguage { class LangTir extends NaturalLanguage { /// Creates a instance of [LangTir] (Tigrinya language). /// - /// ISO 639-2 code: "TIR", ISO 639-1 code: "TI". + /// ISO 639-2/T code: "TIR", ISO 639-1 code: "TI". const LangTir() : super( name: "Tigrinya", code: "TIR", codeShort: "TI", namesNative: const ["ትግርኛ"], - bibliographicCode: null, family: const AfroAsiatic(), - isRightToLeft: false, scripts: const {ScriptEthi()}, ); @@ -3437,17 +3037,14 @@ class LangTir extends NaturalLanguage { class LangTon extends NaturalLanguage { /// Creates a instance of [LangTon] (Tonga (Tonga Islands) language). /// - /// ISO 639-2 code: "TON", ISO 639-1 code: "TO". + /// ISO 639-2/T code: "TON", ISO 639-1 code: "TO". const LangTon() : super( name: "Tonga (Tonga Islands)", code: "TON", codeShort: "TO", namesNative: const ["faka Tonga"], - bibliographicCode: null, family: const Austronesian(), - isRightToLeft: false, - scripts: const {ScriptLatn()}, ); @override @@ -3458,17 +3055,14 @@ class LangTon extends NaturalLanguage { class LangTsn extends NaturalLanguage { /// Creates a instance of [LangTsn] (Tswana language). /// - /// ISO 639-2 code: "TSN", ISO 639-1 code: "TN". + /// ISO 639-2/T code: "TSN", ISO 639-1 code: "TN". const LangTsn() : super( name: "Tswana", code: "TSN", codeShort: "TN", namesNative: const ["Setswana"], - bibliographicCode: null, family: const NigerCongo(), - isRightToLeft: false, - scripts: const {ScriptLatn()}, ); @override @@ -3479,17 +3073,14 @@ class LangTsn extends NaturalLanguage { class LangTso extends NaturalLanguage { /// Creates a instance of [LangTso] (Tsonga language). /// - /// ISO 639-2 code: "TSO", ISO 639-1 code: "TS". + /// ISO 639-2/T code: "TSO", ISO 639-1 code: "TS". const LangTso() : super( name: "Tsonga", code: "TSO", codeShort: "TS", namesNative: const ["Xitsonga"], - bibliographicCode: null, family: const NigerCongo(), - isRightToLeft: false, - scripts: const {ScriptLatn()}, ); @override @@ -3500,17 +3091,14 @@ class LangTso extends NaturalLanguage { class LangTuk extends NaturalLanguage { /// Creates a instance of [LangTuk] (Turkmen language). /// - /// ISO 639-2 code: "TUK", ISO 639-1 code: "TK". + /// ISO 639-2/T code: "TUK", ISO 639-1 code: "TK". const LangTuk() : super( name: "Turkmen", code: "TUK", codeShort: "TK", namesNative: const ["Türkmen", "Түркмен"], - bibliographicCode: null, family: const Turkic(), - isRightToLeft: false, - scripts: const {ScriptLatn()}, ); @override @@ -3521,17 +3109,14 @@ class LangTuk extends NaturalLanguage { class LangTur extends NaturalLanguage { /// Creates a instance of [LangTur] (Turkish language). /// - /// ISO 639-2 code: "TUR", ISO 639-1 code: "TR". + /// ISO 639-2/T code: "TUR", ISO 639-1 code: "TR". const LangTur() : super( name: "Turkish", code: "TUR", codeShort: "TR", namesNative: const ["Türkçe"], - bibliographicCode: null, family: const Turkic(), - isRightToLeft: false, - scripts: const {ScriptLatn()}, ); @override @@ -3542,17 +3127,14 @@ class LangTur extends NaturalLanguage { class LangTwi extends NaturalLanguage { /// Creates a instance of [LangTwi] (Twi language). /// - /// ISO 639-2 code: "TWI", ISO 639-1 code: "TW". + /// ISO 639-2/T code: "TWI", ISO 639-1 code: "TW". const LangTwi() : super( name: "Twi", code: "TWI", codeShort: "TW", namesNative: const ["Twi"], - bibliographicCode: null, family: const NigerCongo(), - isRightToLeft: false, - scripts: const {ScriptLatn()}, ); @override @@ -3563,16 +3145,14 @@ class LangTwi extends NaturalLanguage { class LangUig extends NaturalLanguage { /// Creates a instance of [LangUig] (Uyghur language). /// - /// ISO 639-2 code: "UIG", ISO 639-1 code: "UG". + /// ISO 639-2/T code: "UIG", ISO 639-1 code: "UG". const LangUig() : super( name: "Uyghur", code: "UIG", codeShort: "UG", namesNative: const ["ئۇيغۇرچە‎", "Uyghurche"], - bibliographicCode: null, family: const Turkic(), - isRightToLeft: false, scripts: const {ScriptArab()}, ); @@ -3584,16 +3164,14 @@ class LangUig extends NaturalLanguage { class LangUkr extends NaturalLanguage { /// Creates a instance of [LangUkr] (Ukrainian language). /// - /// ISO 639-2 code: "UKR", ISO 639-1 code: "UK". + /// ISO 639-2/T code: "UKR", ISO 639-1 code: "UK". const LangUkr() : super( name: "Ukrainian", code: "UKR", codeShort: "UK", namesNative: const ["Українська"], - bibliographicCode: null, family: const IndoEuropean(), - isRightToLeft: false, scripts: const {ScriptCyrl()}, ); @@ -3605,14 +3183,13 @@ class LangUkr extends NaturalLanguage { class LangUrd extends NaturalLanguage { /// Creates a instance of [LangUrd] (Urdu language). /// - /// ISO 639-2 code: "URD", ISO 639-1 code: "UR". + /// ISO 639-2/T code: "URD", ISO 639-1 code: "UR". const LangUrd() : super( name: "Urdu", code: "URD", codeShort: "UR", namesNative: const ["اردو"], - bibliographicCode: null, family: const IndoEuropean(), isRightToLeft: true, scripts: const {ScriptArab()}, @@ -3626,17 +3203,14 @@ class LangUrd extends NaturalLanguage { class LangUzb extends NaturalLanguage { /// Creates a instance of [LangUzb] (Uzbek language). /// - /// ISO 639-2 code: "UZB", ISO 639-1 code: "UZ". + /// ISO 639-2/T code: "UZB", ISO 639-1 code: "UZ". const LangUzb() : super( name: "Uzbek", code: "UZB", codeShort: "UZ", namesNative: const ["Ўзбек", "أۇزبېك‎", "Oʻzbek"], - bibliographicCode: null, family: const Turkic(), - isRightToLeft: false, - scripts: const {ScriptLatn()}, ); @override @@ -3647,17 +3221,14 @@ class LangUzb extends NaturalLanguage { class LangVen extends NaturalLanguage { /// Creates a instance of [LangVen] (Venda language). /// - /// ISO 639-2 code: "VEN", ISO 639-1 code: "VE". + /// ISO 639-2/T code: "VEN", ISO 639-1 code: "VE". const LangVen() : super( name: "Venda", code: "VEN", codeShort: "VE", namesNative: const ["Tshivenḓa"], - bibliographicCode: null, family: const NigerCongo(), - isRightToLeft: false, - scripts: const {ScriptLatn()}, ); @override @@ -3668,17 +3239,14 @@ class LangVen extends NaturalLanguage { class LangVie extends NaturalLanguage { /// Creates a instance of [LangVie] (Vietnamese language). /// - /// ISO 639-2 code: "VIE", ISO 639-1 code: "VI". + /// ISO 639-2/T code: "VIE", ISO 639-1 code: "VI". const LangVie() : super( name: "Vietnamese", code: "VIE", codeShort: "VI", namesNative: const ["Tiếng Việt"], - bibliographicCode: null, family: const Austroasiatic(), - isRightToLeft: false, - scripts: const {ScriptLatn()}, ); @override @@ -3689,17 +3257,14 @@ class LangVie extends NaturalLanguage { class LangVol extends NaturalLanguage { /// Creates a instance of [LangVol] (Volapük language). /// - /// ISO 639-2 code: "VOL", ISO 639-1 code: "VO". + /// ISO 639-2/T code: "VOL", ISO 639-1 code: "VO". const LangVol() : super( name: "Volapük", code: "VOL", codeShort: "VO", namesNative: const ["Volapük"], - bibliographicCode: null, family: const Constructed(), - isRightToLeft: false, - scripts: const {ScriptLatn()}, ); @override @@ -3710,17 +3275,14 @@ class LangVol extends NaturalLanguage { class LangWln extends NaturalLanguage { /// Creates a instance of [LangWln] (Walloon language). /// - /// ISO 639-2 code: "WLN", ISO 639-1 code: "WA". + /// ISO 639-2/T code: "WLN", ISO 639-1 code: "WA". const LangWln() : super( name: "Walloon", code: "WLN", codeShort: "WA", namesNative: const ["walon"], - bibliographicCode: null, family: const IndoEuropean(), - isRightToLeft: false, - scripts: const {ScriptLatn()}, ); @override @@ -3731,17 +3293,14 @@ class LangWln extends NaturalLanguage { class LangWol extends NaturalLanguage { /// Creates a instance of [LangWol] (Wolof language). /// - /// ISO 639-2 code: "WOL", ISO 639-1 code: "WO". + /// ISO 639-2/T code: "WOL", ISO 639-1 code: "WO". const LangWol() : super( name: "Wolof", code: "WOL", codeShort: "WO", namesNative: const ["Wollof"], - bibliographicCode: null, family: const NigerCongo(), - isRightToLeft: false, - scripts: const {ScriptLatn()}, ); @override @@ -3752,17 +3311,14 @@ class LangWol extends NaturalLanguage { class LangXho extends NaturalLanguage { /// Creates a instance of [LangXho] (Xhosa language). /// - /// ISO 639-2 code: "XHO", ISO 639-1 code: "XH". + /// ISO 639-2/T code: "XHO", ISO 639-1 code: "XH". const LangXho() : super( name: "Xhosa", code: "XHO", codeShort: "XH", namesNative: const ["isiXhosa"], - bibliographicCode: null, family: const NigerCongo(), - isRightToLeft: false, - scripts: const {ScriptLatn()}, ); @override @@ -3773,14 +3329,13 @@ class LangXho extends NaturalLanguage { class LangYid extends NaturalLanguage { /// Creates a instance of [LangYid] (Yiddish language). /// - /// ISO 639-2 code: "YID", ISO 639-1 code: "YI". + /// ISO 639-2/T code: "YID", ISO 639-1 code: "YI". const LangYid() : super( name: "Yiddish", code: "YID", codeShort: "YI", namesNative: const ["ייִדיש"], - bibliographicCode: null, family: const IndoEuropean(), isRightToLeft: true, scripts: const {ScriptHebr()}, @@ -3794,17 +3349,14 @@ class LangYid extends NaturalLanguage { class LangYor extends NaturalLanguage { /// Creates a instance of [LangYor] (Yoruba language). /// - /// ISO 639-2 code: "YOR", ISO 639-1 code: "YO". + /// ISO 639-2/T code: "YOR", ISO 639-1 code: "YO". const LangYor() : super( name: "Yoruba", code: "YOR", codeShort: "YO", namesNative: const ["Yorùbá"], - bibliographicCode: null, family: const NigerCongo(), - isRightToLeft: false, - scripts: const {ScriptLatn()}, ); @override @@ -3815,17 +3367,14 @@ class LangYor extends NaturalLanguage { class LangZha extends NaturalLanguage { /// Creates a instance of [LangZha] (Zhuang (Chuang) language). /// - /// ISO 639-2 code: "ZHA", ISO 639-1 code: "ZA". + /// ISO 639-2/T code: "ZHA", ISO 639-1 code: "ZA". const LangZha() : super( name: "Zhuang (Chuang)", code: "ZHA", codeShort: "ZA", namesNative: const ["Saɯ cueŋƅ", "Saw cuengh"], - bibliographicCode: null, family: const TaiKadai(), - isRightToLeft: false, - scripts: const {ScriptLatn()}, ); @override @@ -3836,7 +3385,7 @@ class LangZha extends NaturalLanguage { class LangZho extends NaturalLanguage { /// Creates a instance of [LangZho] (Chinese language). /// - /// ISO 639-2 code: "ZHO", ISO 639-1 code: "ZH". + /// ISO 639-2/T code: "ZHO", ISO 639-1 code: "ZH". const LangZho() : super( name: "Chinese", @@ -3845,7 +3394,6 @@ class LangZho extends NaturalLanguage { namesNative: const ["中文 (Zhōngwén)", "汉语", "漢語"], bibliographicCode: "CHI", family: const SinoTibetan(), - isRightToLeft: false, scripts: const { ScriptHans(), ScriptHant(), @@ -3862,17 +3410,14 @@ class LangZho extends NaturalLanguage { class LangZul extends NaturalLanguage { /// Creates a instance of [LangZul] (Zulu language). /// - /// ISO 639-2 code: "ZUL", ISO 639-1 code: "ZU". + /// ISO 639-2/T code: "ZUL", ISO 639-1 code: "ZU". const LangZul() : super( name: "Zulu", code: "ZUL", codeShort: "ZU", namesNative: const ["isiZulu"], - bibliographicCode: null, family: const NigerCongo(), - isRightToLeft: false, - scripts: const {ScriptLatn()}, ); @override diff --git a/packages/sealed_languages/lib/src/data/scripts.data.dart b/packages/sealed_languages/lib/src/data/scripts.data.dart index fdd262bd..6d655663 100644 --- a/packages/sealed_languages/lib/src/data/scripts.data.dart +++ b/packages/sealed_languages/lib/src/data/scripts.data.dart @@ -26,7 +26,6 @@ class ScriptAfak extends Script { code: "Afak", codeNumeric: "439", date: "2010-12-21", - pva: null, ); } @@ -86,7 +85,6 @@ class ScriptAran extends Script { code: "Aran", codeNumeric: "161", date: "2014-11-15", - pva: null, ); } @@ -236,7 +234,6 @@ class ScriptBlis extends Script { code: "Blis", codeNumeric: "550", date: "2004-05-01", - pva: null, ); } @@ -417,7 +414,6 @@ class ScriptCirt extends Script { code: "Cirt", codeNumeric: "291", date: "2004-05-01", - pva: null, ); } @@ -493,7 +489,6 @@ class ScriptCyrs extends Script { code: "Cyrs", codeNumeric: "221", date: "2004-05-01", - pva: null, ); } @@ -584,7 +579,6 @@ class ScriptEgyd extends Script { code: "Egyd", codeNumeric: "070", date: "2004-05-01", - pva: null, ); } @@ -599,7 +593,6 @@ class ScriptEgyh extends Script { code: "Egyh", codeNumeric: "060", date: "2004-05-01", - pva: null, ); } @@ -828,7 +821,6 @@ class ScriptHanb extends Script { code: "Hanb", codeNumeric: "503", date: "2016-01-19", - pva: null, ); } @@ -888,7 +880,6 @@ class ScriptHans extends Script { code: "Hans", codeNumeric: "501", date: "2004-05-29", - pva: null, ); } @@ -903,7 +894,6 @@ class ScriptHant extends Script { code: "Hant", codeNumeric: "502", date: "2004-05-29", - pva: null, ); } @@ -1044,7 +1034,6 @@ class ScriptInds extends Script { code: "Inds", codeNumeric: "610", date: "2004-05-01", - pva: null, ); } @@ -1076,7 +1065,6 @@ class ScriptJamo extends Script { code: "Jamo", codeNumeric: "284", date: "2016-01-19", - pva: null, ); } @@ -1108,7 +1096,6 @@ class ScriptJpan extends Script { code: "Jpan", codeNumeric: "413", date: "2006-06-21", - pva: null, ); } @@ -1123,7 +1110,6 @@ class ScriptJurc extends Script { code: "Jurc", codeNumeric: "510", date: "2010-12-21", - pva: null, ); } @@ -1168,7 +1154,6 @@ class ScriptKawi extends Script { code: "Kawi", codeNumeric: "368", date: "2021-12-03", - pva: null, ); } @@ -1228,7 +1213,6 @@ class ScriptKitl extends Script { code: "Kitl", codeNumeric: "505", date: "2015-07-15", - pva: null, ); } @@ -1274,7 +1258,6 @@ class ScriptKore extends Script { code: "Kore", codeNumeric: "287", date: "2007-06-13", - pva: null, ); } @@ -1289,7 +1272,6 @@ class ScriptKpel extends Script { code: "Kpel", codeNumeric: "436", date: "2010-03-26", - pva: null, ); } @@ -1349,7 +1331,6 @@ class ScriptLatf extends Script { code: "Latf", codeNumeric: "217", date: "2004-05-01", - pva: null, ); } @@ -1364,7 +1345,6 @@ class ScriptLatg extends Script { code: "Latg", codeNumeric: "216", date: "2004-05-01", - pva: null, ); } @@ -1394,7 +1374,6 @@ class ScriptLeke extends Script { code: "Leke", codeNumeric: "364", date: "2015-07-07", - pva: null, ); } @@ -1484,7 +1463,6 @@ class ScriptLoma extends Script { code: "Loma", codeNumeric: "437", date: "2010-03-26", - pva: null, ); } @@ -1604,7 +1582,6 @@ class ScriptMaya extends Script { code: "Maya", codeNumeric: "090", date: "2004-05-01", - pva: null, ); } @@ -1726,7 +1703,6 @@ class ScriptMoon extends Script { code: "Moon", codeNumeric: "218", date: "2006-12-11", - pva: null, ); } @@ -1802,7 +1778,6 @@ class ScriptNagm extends Script { code: "Nagm", codeNumeric: "295", date: "2021-12-03", - pva: null, ); } @@ -1882,7 +1857,6 @@ class ScriptNkdb extends Script { code: "Nkdb", codeNumeric: "085", date: "2017-07-26", - pva: null, ); } @@ -1899,7 +1873,6 @@ class ScriptNkgb extends Script { code: "Nkgb", codeNumeric: "420", date: "2017-07-26", - pva: null, ); } @@ -2080,7 +2053,6 @@ class ScriptPcun extends Script { code: "Pcun", codeNumeric: "015", date: "2021-01-25", - pva: null, ); } @@ -2095,7 +2067,6 @@ class ScriptPelm extends Script { code: "Pelm", codeNumeric: "016", date: "2021-01-25", - pva: null, ); } @@ -2170,7 +2141,6 @@ class ScriptPhlv extends Script { code: "Phlv", codeNumeric: "133", date: "2007-07-15", - pva: null, ); } @@ -2200,7 +2170,6 @@ class ScriptPiqd extends Script { code: "Piqd", codeNumeric: "293", date: "2015-12-16", - pva: null, ); } @@ -2245,7 +2214,6 @@ class ScriptPsin extends Script { code: "Psin", codeNumeric: "103", date: "2021-01-25", - pva: null, ); } @@ -2261,7 +2229,6 @@ class ScriptQaaa extends Script { code: "Qaaa", codeNumeric: "900", date: "2004-05-29", - pva: null, ); } @@ -2277,7 +2244,6 @@ class ScriptQabx extends Script { code: "Qabx", codeNumeric: "949", date: "2004-05-29", - pva: null, ); } @@ -2292,7 +2258,6 @@ class ScriptRanj extends Script { code: "Ranj", codeNumeric: "303", date: "2021-01-25", - pva: null, ); } @@ -2337,7 +2302,6 @@ class ScriptRoro extends Script { code: "Roro", codeNumeric: "620", date: "2004-05-01", - pva: null, ); } @@ -2382,7 +2346,6 @@ class ScriptSara extends Script { code: "Sara", codeNumeric: "292", date: "2004-05-29", - pva: null, ); } @@ -2472,7 +2435,6 @@ class ScriptShui extends Script { code: "Shui", codeNumeric: "530", date: "2017-07-26", - pva: null, ); } @@ -2608,7 +2570,6 @@ class ScriptSunu extends Script { code: "Sunu", codeNumeric: "274", date: "2021-12-03", - pva: null, ); } @@ -2653,7 +2614,6 @@ class ScriptSyre extends Script { code: "Syre", codeNumeric: "138", date: "2004-05-01", - pva: null, ); } @@ -2668,7 +2628,6 @@ class ScriptSyrj extends Script { code: "Syrj", codeNumeric: "137", date: "2004-05-01", - pva: null, ); } @@ -2683,7 +2642,6 @@ class ScriptSyrn extends Script { code: "Syrn", codeNumeric: "136", date: "2004-05-01", - pva: null, ); } @@ -2818,7 +2776,6 @@ class ScriptTeng extends Script { code: "Teng", codeNumeric: "290", date: "2004-05-01", - pva: null, ); } @@ -2983,7 +2940,6 @@ class ScriptVisp extends Script { code: "Visp", codeNumeric: "280", date: "2004-05-01", - pva: null, ); } @@ -3043,7 +2999,6 @@ class ScriptWole extends Script { code: "Wole", codeNumeric: "480", date: "2010-12-21", - pva: null, ); } @@ -3151,7 +3106,6 @@ class ScriptZmth extends Script { code: "Zmth", codeNumeric: "995", date: "2007-11-26", - pva: null, ); } @@ -3166,7 +3120,6 @@ class ScriptZsye extends Script { code: "Zsye", codeNumeric: "993", date: "2015-12-16", - pva: null, ); } @@ -3181,7 +3134,6 @@ class ScriptZsym extends Script { code: "Zsym", codeNumeric: "996", date: "2007-11-26", - pva: null, ); } @@ -3196,7 +3148,6 @@ class ScriptZxxx extends Script { code: "Zxxx", codeNumeric: "997", date: "2011-06-21", - pva: null, ); } diff --git a/packages/sealed_languages/lib/src/helpers/extensions/basic_locale_extension.dart b/packages/sealed_languages/lib/src/helpers/extensions/basic_locale_extension.dart index c7fba077..69c1b2d7 100644 --- a/packages/sealed_languages/lib/src/helpers/extensions/basic_locale_extension.dart +++ b/packages/sealed_languages/lib/src/helpers/extensions/basic_locale_extension.dart @@ -9,8 +9,8 @@ import "../../typedefs/typedefs.dart"; extension BasicLocaleExtension on BasicLocale { /// {@macro copy_with_method} BasicLocale copyWith({ - NaturalLanguage? language, String? countryCode, + NaturalLanguage? language, Script? script, }) => BasicLocale( @@ -21,8 +21,8 @@ extension BasicLocaleExtension on BasicLocale { /// {@macro to_map_method} Map toMap() => { - "language": language.codeShort.toLowerCase(), "countryCode": countryCode?.toUpperCaseIsoCode(), + "language": language.codeShort.toLowerCase(), "script": script?.code, }; diff --git a/packages/sealed_languages/lib/src/helpers/extensions/iso_standardized_string_extension.dart b/packages/sealed_languages/lib/src/helpers/extensions/iso_standardized_string_extension.dart index e9176434..92a17844 100644 --- a/packages/sealed_languages/lib/src/helpers/extensions/iso_standardized_string_extension.dart +++ b/packages/sealed_languages/lib/src/helpers/extensions/iso_standardized_string_extension.dart @@ -29,15 +29,15 @@ extension IsoStandardizedStringExtension on String { /// print(' e'.maybeToValidIsoCode()); // Prints: null /// ``` String? maybeToValidIsoCode({ + int? exactLength, int maxLength = IsoStandardized.codeLength, int minLength = IsoStandardized.codeShortLength, - int? exactLength, }) { final code = trim(); if (exactLength != null) return code.length == exactLength ? code : null; - assert(minLength > 0, "minLength must be > 0"); - assert(maxLength > 1, "minLength must be > 0"); - assert(minLength < maxLength, "maxLength must be <= minLength"); + assert(minLength > 0, "`minLength` must be > 0"); + assert(maxLength > 1, "`maxLength` must be > 1"); + assert(minLength < maxLength, "`maxLength` must be > `minLength`"); return code.length < minLength || code.length > maxLength ? null : code; } @@ -56,9 +56,9 @@ extension IsoStandardizedStringExtension on String { /// print('english'.maybeToValidIsoCode()); // Prints: null /// ``` String? maybeToValidIsoUppercaseCode({ + int? exactLength, int maxLength = IsoStandardized.codeLength, int minLength = IsoStandardized.codeShortLength, - int? exactLength, }) => maybeToValidIsoCode( maxLength: maxLength, @@ -99,14 +99,14 @@ extension IsoStandardizedStringExtension on String { /// /// print(result); // Prints "orElse" /// ```. -// ignore: long-parameter-list, all but one of the parameters are optional. +// ignore: long-parameter-list, avoid-unnecessary-extends, all but 1 required. T maybeMapIsoCode({ required T Function(String input) orElse, + int maxLength = IsoStandardized.codeLength, + int minLength = IsoStandardized.codeShortLength, T Function(String code)? numeric, T Function(String code)? regular, T Function(String code)? short, - int maxLength = IsoStandardized.codeLength, - int minLength = IsoStandardized.codeShortLength, }) { final code = minLength == maxLength ? maybeToValidIsoCode(exactLength: minLength) @@ -118,11 +118,11 @@ extension IsoStandardizedStringExtension on String { : _onNumericOrRegular(code, orElse, regular: regular, numeric: numeric); } - T _onNumericOrRegular( + T _onNumericOrRegular( String code, T Function(String input) orElse, { - T Function(String code)? regular, T Function(String code)? numeric, + T Function(String code)? regular, }) { if (numeric == null && regular == null) return orElse(code); diff --git a/packages/sealed_languages/lib/src/helpers/extensions/sealed_world_iterable_extension.dart b/packages/sealed_languages/lib/src/helpers/extensions/sealed_world_iterable_extension.dart index b077a6f1..58955530 100644 --- a/packages/sealed_languages/lib/src/helpers/extensions/sealed_world_iterable_extension.dart +++ b/packages/sealed_languages/lib/src/helpers/extensions/sealed_world_iterable_extension.dart @@ -7,6 +7,7 @@ extension SealedWorldIterableExtension on Iterable { /// Return a [List] of mapped objects, typically [IsoStandardized] objects, /// created with `fromCode` factory constructor. List fromIsoList(R Function(String code) mapper) => + // ignore: avoid-nullable-tostring, it's expected to be non-null. List.unmodifiable(map((code) => mapper(code.toString()))); /// Returns a [String] representation of the list containing only the unique @@ -65,7 +66,8 @@ extension SealedWorldIterableIsoExtension final maybeMatchingIso = getIsoOrNullFunc(value); if (maybeMatchingIso != null) return maybeMatchingIso; throw StateError( - """No matching ISO $T element was found for the input! Consider using the same but nullable runtime-safe methods (with a `maybe` prefix) instead.""", + "No matching ISO $T element was found for the input! Consider using the" + " same but nullable runtime-safe methods (with a `maybe` prefix) instead", ); } } @@ -108,6 +110,6 @@ extension SealedWorldNullableIterableIsoExtension T? _mapTrimmedCode(T? Function(String output) mapper, Object? input) { final code = input?.toString().maybeToValidIsoCode(); - return code != null ? mapper(code) : null; + return code == null ? null : mapper(code); } } diff --git a/packages/sealed_languages/lib/src/helpers/extensions/sealed_world_json_string_extension.dart b/packages/sealed_languages/lib/src/helpers/extensions/sealed_world_json_string_extension.dart index c8e8ea99..0c3ea7ed 100644 --- a/packages/sealed_languages/lib/src/helpers/extensions/sealed_world_json_string_extension.dart +++ b/packages/sealed_languages/lib/src/helpers/extensions/sealed_world_json_string_extension.dart @@ -20,6 +20,7 @@ extension SealedWorldJsonStringExtension on String { T Function(JsonMap map) fromJson, { JsonCodec codec = const JsonCodec(), }) => + // ignore: avoid-type-casts, nature of JSON decoding fromJson(codec.decode(this) as JsonMap); /// Tries to parse the JSON string into an object of type [T]. @@ -38,11 +39,13 @@ extension SealedWorldJsonStringExtension on String { /// final maybePerson = jsonString.tryParse(Person.fromJson); /// ``` T? tryParse(T? Function(JsonMap map)? fromJson, {JsonCodec? codec}) { - codec ??= const JsonCodec(); + final decoderCodec = codec ?? const JsonCodec(); try { - final jsonMap = codec.decode(this) as JsonMap; + // ignore: avoid-type-casts, nature of JSON decoding + final jsonMap = decoderCodec.decode(this) as JsonMap; return fromJson?.call(jsonMap); + // ignore: avoid_catches_without_on_clauses, it's just some exception. } catch (_) { return null; } diff --git a/packages/sealed_languages/lib/src/helpers/extensions/translated_extension.dart b/packages/sealed_languages/lib/src/helpers/extensions/translated_extension.dart index addcda99..1af34a1b 100644 --- a/packages/sealed_languages/lib/src/helpers/extensions/translated_extension.dart +++ b/packages/sealed_languages/lib/src/helpers/extensions/translated_extension.dart @@ -117,7 +117,7 @@ extension TranslatedExtension if (countryCode != null && l10n.countryCode != countryCode) continue; if (script != null && l10n.script != script) continue; - return l10n; + return l10n; // ignore: avoid-unconditional-break, conditions were met. } return useLanguageFallback ? translations.first : null; diff --git a/packages/sealed_languages/lib/src/helpers/extensions/translated_name_extension.dart b/packages/sealed_languages/lib/src/helpers/extensions/translated_name_extension.dart index 3a6da790..beeb9cb1 100644 --- a/packages/sealed_languages/lib/src/helpers/extensions/translated_name_extension.dart +++ b/packages/sealed_languages/lib/src/helpers/extensions/translated_name_extension.dart @@ -17,9 +17,9 @@ extension TranslatedNameExtension on TranslatedName { /// {@endtemplate} // ignore: long-parameter-list, 5 params in the default constructor. TranslatedName copyWith({ - NaturalLanguage? language, String? countryCode, String? fullName, + NaturalLanguage? language, String? name, Script? script, }) => @@ -39,9 +39,9 @@ extension TranslatedNameExtension on TranslatedName { /// {@endtemplate} static TranslatedName fromMap(JsonMap map) => TranslatedName( NaturalLanguage.fromCode(map["language"].toString()), - name: map["name"] as String, - fullName: map["fullName"] as String?, - countryCode: map["countryCode"] as String?, + name: map["name"].toString(), + fullName: map["fullName"]?.toString(), + countryCode: map["countryCode"]?.toString(), script: map["script"] is String ? Script.fromCode(map["script"].toString()) : null, @@ -51,10 +51,10 @@ extension TranslatedNameExtension on TranslatedName { /// Converts this object object to a JSON like map. /// {@endtemplate} JsonObjectMap toMap() => { + "countryCode": countryCode, + "fullName": fullName, "language": language.code, "name": name, - "fullName": fullName, - "countryCode": countryCode, "script": script?.code, }; diff --git a/packages/sealed_languages/lib/src/helpers/extensions/upper_case_iso_map_extension.dart b/packages/sealed_languages/lib/src/helpers/extensions/upper_case_iso_map_extension.dart index 06814f88..ee3d98a5 100644 --- a/packages/sealed_languages/lib/src/helpers/extensions/upper_case_iso_map_extension.dart +++ b/packages/sealed_languages/lib/src/helpers/extensions/upper_case_iso_map_extension.dart @@ -47,7 +47,8 @@ extension UpperCaseIsoMapExtension if (result != null) return result; throw StateError( - """No matching ISO $V element was found for the '$code'! Consider using the same but nullable runtime-safe methods (with a `maybe` prefix) instead.""", + "No matching ISO $V element was found for the '$code'! Consider using the" + " same but nullable runtime-safe methods (with a `maybe` prefix) instead", ); } @@ -87,6 +88,7 @@ extension UpperCaseIsoMapExtension /// found within the new [UpperCaseIsoMap]. /// - Returns: A new instance of [UpperCaseIsoMap] containing the provided ISO /// codes and values, with keys standardized to uppercase. + // ignore: avoid-incomplete-copy-with, those are calculated. UpperCaseIsoMap copyWith(Map other, {V? defaultValue}) { final upperCase = other.map((k, v) => MapEntry(k.toUpperCaseIsoCode(), v)); final newMap = Map.fromEntries(entries.followedBy(upperCase.entries)); @@ -98,13 +100,12 @@ extension UpperCaseIsoMapExtension if (hasSameLength) { return UpperCaseIsoMap(newMap, defaultValue: value, exactLength: short); } - final longest = list.map((k) => k.length).reduce((a, b) => a > b ? a : b); return UpperCaseIsoMap( newMap, defaultValue: value, - exactLength: null, + exactLength: null, // ignore: avoid-passing-default-values, Not default. maxLength: longest, minLength: short, ); diff --git a/packages/sealed_languages/lib/src/helpers/natural_language/natural_language_copy_with.dart b/packages/sealed_languages/lib/src/helpers/natural_language/natural_language_copy_with.dart index 9e6b025d..4b909b4f 100644 --- a/packages/sealed_languages/lib/src/helpers/natural_language/natural_language_copy_with.dart +++ b/packages/sealed_languages/lib/src/helpers/natural_language/natural_language_copy_with.dart @@ -21,13 +21,13 @@ extension NaturalLanguageCopyWith on NaturalLanguage { /// ); /// ``` NaturalLanguage copyWith({ - String? name, + String? bibliographicCode, String? code, String? codeShort, - List? namesNative, - String? bibliographicCode, NaturalLanguageFamily? family, bool? isRightToLeft, + String? name, + List? namesNative, Set