remove method

void remove(
  1. String name
)

Removes a cookie from list by name. Note: this does not delete a cookie in the browser To remove the cookie from browser cache you need to set a new one with exactly same name, path and domain, but with the expires date in the past, value is irrelevant

Implementation

void remove(String name) =>
    responseCookies.removeWhere((Cookie cookie) => cookie.name == name);