HttpCookieEvidence.fromJson constructor

HttpCookieEvidence.fromJson(
  1. Map json_
)

Implementation

HttpCookieEvidence.fromJson(core.Map json_)
    : this(
        cookieNames: json_.containsKey('cookieNames')
            ? (json_['cookieNames'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        maxCookieCount: json_.containsKey('maxCookieCount')
            ? json_['maxCookieCount'] as core.int
            : null,
      );