has method

bool has(
  1. String name
)

Returns whether a FormData object contains a certain key.

MDN reference

Implementation

bool has(String name) => _storage.any((element) => element.$1 == name);