config property

Implementation

T get config {
  if (_config != null) return _config!;
  if (_cache.containsKey(T)) {
    return _cache[T]! as T;
  }

  final _auth = auth ?? FirebaseAuth.instance;
  final configs = FlutterFireUIAuth.configsFor(_auth.app);
  final config = configs.firstWhere((element) => element is T) as T;
  _cache[T] = config;
  return config;
}