has method

bool has(
  1. String key
)

Returns a bool value stating whether a FormData object contains a certain key.

Implementation

bool has(String key) {
  ArgumentError.checkNotNull(key, 'key');

  return keys.contains(key);
}