HoraZoned constructor
HoraZoned(
- Hora instant,
- HoraTimezone timezone
Implementation
HoraZoned(Hora instant, this.timezone)
: instantUtc = (() {
if (!instant.isValid) {
throw ArgumentError.value(
instant,
'instant',
'HoraZoned requires a valid Hora instant.',
);
}
return instant.toUtc();
})();