FhirInstant.fromUnits constructor
FhirInstant.fromUnits({})
Implementation
factory FhirInstant.fromUnits({
required int year,
required int month,
required int day,
required int hour,
required int minute,
required int second,
int? millisecond,
int? microsecond,
required int timeZoneOffset,
bool? isUtc,
}) =>
FhirDateTimeBase.fromUnits<FhirInstant>(
year: year,
month: month,
day: day,
hour: hour,
minute: minute,
second: second,
millisecond: millisecond,
microsecond: microsecond,
timeZoneOffset: timeZoneOffset,
isUtc: isUtc ?? false,
) as FhirInstant;