localeMatcher property
SegmenterOptionsLocaleMatcherOptions?
get
localeMatcher
The locale matching algorithm to use. For information about this option, see Intl page.
Implementation
_i3.SegmenterOptionsLocaleMatcherOptions? get localeMatcher =>
switch (_i5.getProperty(
this,
'localeMatcher',
)) {
_i2.String name =>
_i3.SegmenterOptionsLocaleMatcherOptions.values.byName(name),
_ => null
};
set
localeMatcher
(SegmenterOptionsLocaleMatcherOptions? value)
Implementation
set localeMatcher(_i3.SegmenterOptionsLocaleMatcherOptions? value) {
_i5.setProperty(
this,
'localeMatcher',
value?.name ?? _i4.undefined,
);
}