dart / 2 / dart-io / cookie / cookie.fromsetcookievalue.html

Cookie.fromSetCookieValue constructor

Cookie.fromSetCookieValue(
  1. String value
)

Creates a new cookie by parsing a header value from a 'set-cookie' header.

Implementation

factory Cookie.fromSetCookieValue(String value) {
  return _Cookie.fromSetCookieValue(value);
}

© 2012 the Dart project authors
Licensed under the BSD 3-Clause "New" or "Revised" License.
https://api.dart.dev/stable/2.18.5/dart-io/Cookie/Cookie.fromSetCookieValue.html