LocaleOptions constructor

LocaleOptions({
  1. String? baseName,
  2. String? calendar,
  3. LocaleCollationCaseFirst? caseFirst,
  4. String? collation,
  5. LocaleHourCycleKey? hourCycle,
  6. String? language,
  7. String? numberingSystem,
  8. bool? numeric,
  9. String? region,
  10. String? script,
})

Implementation

factory LocaleOptions({
  _i2.String? baseName,
  _i2.String? calendar,
  _i3.LocaleCollationCaseFirst? caseFirst,
  _i2.String? collation,
  _i3.LocaleHourCycleKey? hourCycle,
  _i2.String? language,
  _i2.String? numberingSystem,
  _i2.bool? numeric,
  _i2.String? region,
  _i2.String? script,
}) =>
    LocaleOptions._(
      baseName: baseName,
      calendar: calendar,
      caseFirst: caseFirst?.name ?? _i4.undefined,
      collation: collation,
      hourCycle: hourCycle?.name ?? _i4.undefined,
      language: language,
      numberingSystem: numberingSystem,
      numeric: numeric,
      region: region,
      script: script,
    );