copyWith method
ToastMeta.copyWith() is used to copy the current toast alert and override the values.
Implementation
ToastMeta copyWith(
{Widget? icon,
String? title,
String? style,
String? description,
Color? color,
Function? action,
Function? dismiss,
Duration? duration}) {
return this;
}