initialize method

  1. @override
Future<void> initialize()
override

Implementation

@override
Future<void> initialize() async {
  if (AbsDatabase.sbDBConn == null) {
    // await HycopFactory.initAll();
    logger.finest('initialize');
    // await Supabase.initialize(
    //   url: myConfig!.serverConfig.dbConnInfo.databaseURL,
    //   anonKey: myConfig!.serverConfig.dbConnInfo.apiKey,
    // );
    AbsDatabase.setSupabaseApp(Supabase.instance.client);

    //AbsDatabase.sbDBConn = null;
  }
  assert(AbsDatabase.sbDBConn != null);
}