updateRelativeTime method
Creates a new locale with updated relative time.
Implementation
UpdatedLocale updateRelativeTime({
String? future,
String? past,
String? s,
String? m,
String? mm,
String? h,
String? hh,
String? d,
String? dd,
String? w,
String? ww,
String? mo,
String? mos,
String? y,
String? yy,
}) =>
UpdatedLocale(
this,
relativeTime: HoraRelativeTime(
future: future ?? relativeTime.future,
past: past ?? relativeTime.past,
s: s ?? relativeTime.s,
m: m ?? relativeTime.m,
mm: mm ?? relativeTime.mm,
h: h ?? relativeTime.h,
hh: hh ?? relativeTime.hh,
d: d ?? relativeTime.d,
dd: dd ?? relativeTime.dd,
w: w ?? relativeTime.w,
ww: ww ?? relativeTime.ww,
mo: mo ?? relativeTime.mo,
mos: mos ?? relativeTime.mos,
y: y ?? relativeTime.y,
yy: yy ?? relativeTime.yy,
),
);