copyWith method
Implementation
ToastCloseButton copyWith({
CloseButtonShowType? showType,
CloseButtonBuilder? buttonBuilder,
}) {
return ToastCloseButton(
showType: showType ?? this.showType,
buttonBuilder: buttonBuilder ?? this.buttonBuilder,
);
}