JSGlobalContext class

Inheritance

Constructors

JSGlobalContext(JSGlobalContextRef ref)
const
JSGlobalContext.create({JSClass? globalObjectClass})
factory
JSGlobalContext.createInGroup({JSContextGroup? group, JSClass? globalObjectClass})
factory

Properties

globalContext JSGlobalContext
no setterinherited
globalObject JSObject
no setterinherited
group JSContextGroup
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

checkScriptSyntax(String script, {String? sourceURL, int startingLineNumber = 1}) bool
inherited
copyName() String?
evaluate(String script, {JSObject? thisObject, String? sourceURL, int startingLineNumber = 1}) JSValue
inherited
garbageCollect() → void
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
release() → void
retain() JSGlobalContext
retain 会导致内存引用计数 +1, release 次数也要相应 +1
setName(String name) → void
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited