Creates a new cookie optionally setting the name and value.
By default the value of httpOnly
will be set to true
.
Source
factory Cookie([String name, String value]) => new _Cookie(name, value);
Creates a new cookie optionally setting the name and value.
By default the value of httpOnly
will be set to true
.
factory Cookie([String name, String value]) => new _Cookie(name, value);