toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
      if (clientId != null) 'clientId': clientId,
      if (clientSecret != null) 'clientSecret': clientSecret,
      'basePath': basePath,
      'tokenUrl': tokenUrl,
      if (accessToken != null) 'accessToken': accessToken,
    };