toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (authCode != null) 'authCode': authCode!,
      if (authUri != null) 'authUri': authUri!,
      if (clientId != null) 'clientId': clientId!,
      if (clientSecret != null) 'clientSecret': clientSecret!,
      if (enablePkce != null) 'enablePkce': enablePkce!,
      if (pkceVerifier != null) 'pkceVerifier': pkceVerifier!,
      if (redirectUri != null) 'redirectUri': redirectUri!,
      if (scopes != null) 'scopes': scopes!,
    };