copyWith method
DateTimeFormattingTypeAbsolute
copyWith({
- DateTimePartPrecision? timePrecision,
- DateTimePartPrecision? datePrecision,
- bool? showDayOfWeek,
override
Returns a copy with the given fields replaced. For a nullable
field pass a function, e.g. field: () => null to clear it.
Implementation
@override
DateTimeFormattingTypeAbsolute copyWith({
DateTimePartPrecision? timePrecision,
DateTimePartPrecision? datePrecision,
bool? showDayOfWeek,
}) => DateTimeFormattingTypeAbsolute(
timePrecision: timePrecision ?? this.timePrecision,
datePrecision: datePrecision ?? this.datePrecision,
showDayOfWeek: showDayOfWeek ?? this.showDayOfWeek,
);