FhirTime.fromUnits constructor
FhirTime.fromUnits({
- dynamic hour,
- dynamic minute,
- dynamic second,
- dynamic millisecond,
Implementation
factory FhirTime.fromUnits(
{dynamic hour,
dynamic minute,
dynamic second,
dynamic millisecond}) =>
FhirTime(
'${hour.toString().padLeft(2, '0')}'
':${minute.toString().padLeft(2, '0')}'
':${second.toString().padLeft(2, '0')}'
'.${millisecond.toString().padLeft(3, '0')}',
);