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