a data object for passing info into the toaster. the Toast is identified by id,
which defaults to a random string, but may be set if the toast requires an ID that must be reused or memorized.
type is a ToastType that tells the toaster how to style certain aspects of the toast; for instance, the
icon on the toast. see ToastType for more details.
customization options for the toast. errorToast, warningToast, and successToast
are sensible defaults for toasts that fullfill most toast requirements. If you'd like to create
your own toast, you may construct an instance of ToastType.