toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (accessToken != null) 'accessToken': accessToken!,
      if (applyReauthPolicy != null) 'applyReauthPolicy': applyReauthPolicy!,
      if (authCode != null) 'authCode': authCode!,
      if (authEndpoint != null) 'authEndpoint': authEndpoint!,
      if (authParams != null) 'authParams': authParams!,
      if (clientId != null) 'clientId': clientId!,
      if (clientSecret != null) 'clientSecret': clientSecret!,
      if (requestType != null) 'requestType': requestType!,
      if (scope != null) 'scope': scope!,
      if (tokenEndpoint != null) 'tokenEndpoint': tokenEndpoint!,
      if (tokenParams != null) 'tokenParams': tokenParams!,
    };