copyWith method
Implementation
ToastTheme copyWith({
ToastLocation? location,
Duration? entryDuration,
Duration? showDuration,
}) {
return ToastTheme(
location: location ?? this.location,
entryDuration: entryDuration ?? this.entryDuration,
showDuration: showDuration ?? this.showDuration,
);
}