toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (clientId != null) 'clientId': clientId!,
      if (code != null) 'code': code!,
      if (codeVerifier != null) 'codeVerifier': codeVerifier!,
      if (grantType != null) 'grantType': grantType!,
      if (redirectUri != null) 'redirectUri': redirectUri!,
      if (refreshToken != null) 'refreshToken': refreshToken!,
      if (scope != null) 'scope': scope!,
    };