localeMatcher property

ListFormatLocaleMatcher? get localeMatcher

The locale matching algorithm to use. For information about this option, see Intl page.

Implementation

_i3.ListFormatLocaleMatcher? get localeMatcher => switch (_i5.getProperty(
      this,
      'localeMatcher',
    )) {
      _i2.String name =>
        _i3.ListFormatLocaleMatcherOptions.values.byName(name),
      _ => null
    };
set localeMatcher (ListFormatLocaleMatcher? value)

Implementation

set localeMatcher(_i3.ListFormatLocaleMatcher? value) {
  _i5.setProperty(
    this,
    'localeMatcher',
    value?.name ?? _i4.undefined ?? _i4.undefined,
  );
}