remove method

Deletes a cookie by name.

Implementation

Future<RemoveCallbackDetails?> remove(CookieDetails details) async {
  var $res = await promiseToFuture<$js.RemoveCallbackDetails?>(
      $js.chrome.cookies.remove(details.toJS));
  return $res?.let(RemoveCallbackDetails.fromJS);
}