init method Null safety

dynamic init(
  1. {required IStorage storage,
  2. bool enableKakao = true,
  3. String? kakaoAppId,
  4. bool enableApple = false,
  5. bool enableEmailPassword = false}
)

Implementation

static init({
  required IStorage storage,
  bool enableKakao = true,
  String? kakaoAppId,
  bool enableApple = false,
  bool enableEmailPassword = false,
}) {
  _storage = storage;
  _kakaoAppId = kakaoAppId;
  _enableKakao = enableKakao;
  _enableApple = enableApple;
  _enableEmailPassword = enableEmailPassword;
}