toJson method
Implementation
@override
Object toJson() => {
if (excludedQueryParameters.isNotDefault)
'excludedQueryParameters': excludedQueryParameters,
'includeHost': ?includeHost,
'includeProtocol': ?includeProtocol,
'includeQueryString': ?includeQueryString,
if (includedCookieNames.isNotDefault)
'includedCookieNames': includedCookieNames,
if (includedHeaderNames.isNotDefault)
'includedHeaderNames': includedHeaderNames,
if (includedQueryParameters.isNotDefault)
'includedQueryParameters': includedQueryParameters,
};