has method

bool has(
  1. String property
)

Shorthand helper to check for String properties.

Implementation

bool has(String property) => hasProperty(property.toJS).toDart;