DateTimeFormatPart constructor

DateTimeFormatPart({
  1. DateTimeFormatPartTypes? type,
  2. String? value,
})

Implementation

factory DateTimeFormatPart({
  _i3.DateTimeFormatPartTypes? type,
  _i2.String? value,
}) =>
    DateTimeFormatPart._(
      type: type?.name ?? _i4.undefined,
      value: value,
    );