selectRealTime static method

Future<void> selectRealTime()

Implementation

static Future<void> selectRealTime() async {
if (HycopFactory.serverType == ServerType.supabase) {
    realtime = SupabaseRealtime();
  } else {
    realtime = FirebaseRealtime();
  }
  await realtime!.initialize();
  return;
}