toSetCookie static method
Returns a String representation that can be directly written to 'set-cookie' header
Implementation
static String toSetCookie(Iterable<ClientCookie> cookies) =>
cookies.where((c) => !c.hasExpired).join(',');
Returns a String representation that can be directly written to 'set-cookie' header
static String toSetCookie(Iterable<ClientCookie> cookies) =>
cookies.where((c) => !c.hasExpired).join(',');