init static method

void init({
  1. required FirebaseAuth auth,
  2. Locale locale = const Locale('ar'),
  3. String? baseUrl,
})

Initialize UniAuth with auth and locale and baseUrl

Implementation

static void init({
  required FirebaseAuth auth,
  Locale locale = const Locale('ar'),
  String? baseUrl,
}) {
  _auth = auth;
  _locale = locale;
  Apis.baseUrl = baseUrl;
}