mode property

Contains the mode of the request (e.g., cors, no-cors, same-origin, navigate.)

MDN reference

Implementation

RequestMode get mode => _storage.of(#mode, () => RequestMode.cors);