ExemptedSetCookieWithReason.fromJson constructor

ExemptedSetCookieWithReason.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory ExemptedSetCookieWithReason.fromJson(Map<String, dynamic> json) {
  return ExemptedSetCookieWithReason(
    exemptionReason:
        CookieExemptionReason.fromJson(json['exemptionReason'] as String),
    cookieLine: json['cookieLine'] as String,
    cookie: Cookie.fromJson(json['cookie'] as Map<String, dynamic>),
  );
}