initialize method

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

Implementation

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

  assert(AbsRealtime.sbRTConn != null);
  // for realtime
}