cookie<T> function

FromRequestParts<T> cookie<T>(
  1. String name
)

Reads one cookie, coerced to T. A nullable T makes it optional.

Implementation

FromRequestParts<T> cookie<T>(String name) => CookieExtractable<T>(name);