Creates a new cookie setting the name and value.
name
and value
must be composed of valid characters according to RFC
By default the value of httpOnly
will be set to true
.
factory Cookie(String name, String value) => new _Cookie(name, value);
© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dart.dev/stable/2.5.0/dart-io/Cookie/Cookie.html