init method

Toaster init(
  1. BuildContext context
)

Take users Context and saves to available

Implementation

Toaster init(BuildContext context) {
  _instance.context = context;
  return _instance;
}