style property
RelativeTimeFormatStyle?
get
style
Implementation
_i3.RelativeTimeFormatStyle? get style => switch (_i5.getProperty(
this,
'style',
)) {
_i2.String name =>
_i3.RelativeTimeFormatStyleOptions.values.byName(name),
_ => null
};
set
style
(RelativeTimeFormatStyle? value)
Implementation
set style(_i3.RelativeTimeFormatStyle? value) {
_i5.setProperty(
this,
'style',
value?.name ?? _i4.undefined ?? _i4.undefined,
);
}