CachePolicyCacheKeyPolicy.fromJson constructor
CachePolicyCacheKeyPolicy.fromJson(
- Map json_
Implementation
CachePolicyCacheKeyPolicy.fromJson(core.Map json_)
: this(
excludedQueryParameters:
(json_['excludedQueryParameters'] as core.List?)
?.map((value) => value as core.String)
.toList(),
includeHost: json_['includeHost'] as core.bool?,
includeProtocol: json_['includeProtocol'] as core.bool?,
includeQueryString: json_['includeQueryString'] as core.bool?,
includedCookieNames: (json_['includedCookieNames'] as core.List?)
?.map((value) => value as core.String)
.toList(),
includedHeaderNames: (json_['includedHeaderNames'] as core.List?)
?.map((value) => value as core.String)
.toList(),
includedQueryParameters:
(json_['includedQueryParameters'] as core.List?)
?.map((value) => value as core.String)
.toList(),
);