ParticleConnectConfig constructor

ParticleConnectConfig(
  1. LoginType loginType,
  2. String account,
  3. List<SupportAuthType> supportAuthTypes,
  4. bool loginFormMode,
  5. SocialLoginPrompt? socialLoginPrompt,
)

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.

loginFormMode set false will show full login form, set true will show light login form, default value is false.

socialLoginPrompt set social login prompt, optional.

Implementation

ParticleConnectConfig(this.loginType, this.account, this.supportAuthTypes, this.loginFormMode, this.socialLoginPrompt);