FhirDate.fromUnits constructor

FhirDate.fromUnits({
  1. required int year,
  2. int? month,
  3. int? day,
  4. bool? isUtc,
})

Implementation

factory FhirDate.fromUnits({
  required int year,
  int? month,
  int? day,
  bool? isUtc,
}) =>
    FhirDateTimeBase.fromUnits<FhirDate>(
        year: year,
        month: month,
        day: day,
        isUtc: isUtc ?? false) as FhirDate;