copyWith method
Implementation
FromToDate copyWith({
String? from,
String? to,
}) {
return FromToDate(
from: from ?? this.from,
to: to ?? this.to,
);
}
FromToDate copyWith({
String? from,
String? to,
}) {
return FromToDate(
from: from ?? this.from,
to: to ?? this.to,
);
}