selectFunction static method

Future<void> selectFunction()

Implementation

static Future<void> selectFunction() async {
if (HycopFactory.serverType == ServerType.supabase) {
    function = SupabaseFunction();
  } else {
    function = FirebaseFunction();
  }
  await function!.initialize();
  return;
}