ParticleConnectConfig constructor

ParticleConnectConfig(
  1. LoginType loginType,
  2. String? account,
  3. List<SupportAuthType> supportAuthTypes,
  4. SocialLoginPrompt? socialLoginPrompt, {
  5. LoginPageConfig? loginPageConfig,
})

Particle connect config, use for connect when wallet type is particle.

loginType, for example email, google and so on.

account when login type is email, phone, you could pass email address, phone number, when login type is jwt, you must pass the json web token.

supportAuthTypes set support auth types, they will show in the web page.

socialLoginPrompt set social login prompt, optional.

Implementation

ParticleConnectConfig(this.loginType, this.account, this.supportAuthTypes,
    this.socialLoginPrompt,
    {this.loginPageConfig});