has method

bool has(
  1. String name
)

Returns whether or not a property with name exists.

Implementation

bool has(String name) {
  return byName.containsKey(name);
}