Web3AuthOptions constructor

Web3AuthOptions({
  1. required String clientId,
  2. required Network network,
  3. BuildEnv? buildEnv = BuildEnv.production,
  4. String? sdkUrl,
  5. required Uri redirectUrl,
  6. WhiteLabelData? whiteLabel,
  7. HashMap<String, LoginConfigItem>? loginConfig,
  8. bool? useCoreKitKey,
  9. ChainNamespace? chainNamespace = ChainNamespace.eip155,
  10. int? sessionTime = 86400,
  11. MfaSettings? mfaSettings,
})

Implementation

Web3AuthOptions({
  required this.clientId,
  required this.network,
  this.buildEnv = BuildEnv.production,
  String? sdkUrl,
  required this.redirectUrl,
  this.whiteLabel,
  this.loginConfig,
  this.useCoreKitKey,
  this.chainNamespace = ChainNamespace.eip155,
  this.sessionTime = 86400,
  this.mfaSettings,
}) : sdkUrl = sdkUrl ?? getSdkUrl(buildEnv ?? BuildEnv.production);