Thanks to visit codestin.com Credit goes to api.dart.dev
Whether or not this JSObject contains the property key property.
property
Uses JavaScript's in to check.
in
external JSBoolean hasProperty(JSAny property);