isPlainObject property
bool
get
isPlainObject
Returns true if this is a plain JS object (a dictionary-like object
such as {}), whose prototype is Object.prototype or null.
Implementation
bool get isPlainObject {
final proto = prototype;
return proto == null || proto.strictEquals(JSObjectUtil.prototype).toDart;
}