dart:io Cookie class   Representation of a cookie. For cookies received by the server as Cookie header values only name and value properties will be set. When building a cookie for the 'set-cookie' header in the server and when receiving cookies in the client as 'set-cookie' headers all fields can be used. Constructors   Cookie(String name, String value) factory
  Creates a new cookie setting the name and value.    Cookie.fromSetCookieValue(String value) factory
  Creates a new cookie by parsing a header value from a 'set-cookie' header.    Properties   domain ↔ String? read / write
  The domain that the cookie applies to.    expires ↔ DateTime? read / write
  The time at which the cookie expires.    hashCode → int read-only, inherited
  The hash code for this object.    httpOnly ↔ bool read / write
  Whether the cookie is only sent in the HTTP request and is not made available to client side scripts.    maxAge ↔ int? read / write
  The number of seconds until the cookie expires. A zero or negative value means the cookie has expired.    name ↔ String read / write
  The name of the cookie.    path ↔ String? read / write
  The path within the domain that the cookie applies to.    runtimeType → Type read-only, inherited
  A representation of the runtime type of the object.    secure ↔ bool read / write
  Whether to only send this cookie on secure connections.    value ↔ String read / write
  The value of the cookie.    Methods   noSuchMethod(Invocation invocation) → dynamic  inherited
  Invoked when a non-existent method or property is accessed.    toString() → String override
  Returns the formatted string representation of the cookie. The string representation can be used for setting the Cookie or 'set-cookie' headers    Operators   operator ==(Object other) → bool inherited
  The equality operator.   

    
{'path': 'public/docs/dart~2/dart-io/cookie-class.html', 'source': 'DevDocs.IO'}