toMainten method

dynamic toMainten(
  1. BuildContext context, {
  2. String? method,
  3. bool? isErrorApi,
  4. String? domainbefore,
  5. Key? key,
})

Implementation

toMainten(BuildContext context,{String? method,bool? isErrorApi,String? domainbefore,Key? key}){
  if (method != "exception_user_force_id/check/" || method != "community_category/" || method != "produk/peoplearound/"){
    SellonRouter.makeFirst(
        context, Config.maintancePage!
        // MaintanceScreen(
        //   isErrorApi: isErrorApi,
        //   domainbefore: sellonConfig.Config.domainMain == "sellon.net"
        //       ? "sellon.store"
        //       : "sellon.net",
        //   key: key,
        // )
  );
  }

}