ScriptSource class

Constructors

ScriptSource({String? code, String? file})
ScriptSource.fromJS(ScriptSource _wrapped)

Properties

code ↔ String?
A string containing the JavaScript code to inject. Exactly one of file or code must be specified.
getter/setter pair
file ↔ String?
The path of the JavaScript file to inject relative to the extension's root directory. Exactly one of file or code must be specified.
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
toJS → ScriptSource
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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