toMainten method
dynamic
toMainten(
- BuildContext context, {
- String? method,
- bool? isErrorApi,
- String? domainbefore,
- 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,
// )
);
}
}