addCookie method

dynamic addCookie(
  1. Cookie cookie
)

Implementation

addCookie(Cookie cookie) {
  cookies[cookie.name] = cookie;
}