HttpActions constructor

HttpActions({
  1. required String url,
  2. Widget? noInternetPage,
  3. BuildContext? globalContext,
  4. required Map<String, String>? header,
})

Implementation

HttpActions(
    {required String url,
    Widget? noInternetPage,
    BuildContext? globalContext,
    required Map<String, String>? header}) {
  endPoint = url;
  noInternetScreen = noInternetPage;
  context = globalContext;
  allHeaders = header;
}