init method

Future<XUtils> init({
  1. bool? debug,
})

初始化

Implementation

Future<XUtils> init({bool? debug}) async {
  if (debug != null) {
    isDebug = debug;
  }
  await SpUtils.init();
  return get;
}