JsLibrary class

Constructors

JsLibrary({required String contextName, required String url, required bool usesRequireJs})
const

Properties

contextName String
The name of global variable where library is stored. Used to properly import the library if usesRequireJs flag is true
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
url String
final
usesRequireJs bool
If js code checks for 'define' variable. E.g. if at the beginning you see code like if (typeof define === "function" && define.amd)
final

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