has method
- String property
Shorthand helper for hasProperty to check whether this JSObject
contains the property key property
, but takes and returns a Dart value.
Implementation
bool has(String property) => hasProperty(property.toJS).toDart;
Shorthand helper for hasProperty to check whether this JSObject
contains the property key property
, but takes and returns a Dart value.
bool has(String property) => hasProperty(property.toJS).toDart;