Cookie([String name, String value ])

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);