copyWith method
NullableTimeOfDay
copyWith({
- ValueGetter<
int?> ? hour, - ValueGetter<
int?> ? minute, - ValueGetter<
int?> ? second,
Implementation
NullableTimeOfDay copyWith({
ValueGetter<int?>? hour,
ValueGetter<int?>? minute,
ValueGetter<int?>? second,
}) {
return NullableTimeOfDay(
hour: hour == null ? this.hour : hour(),
minute: minute == null ? this.minute : minute(),
second: second == null ? this.second : second(),
);
}