LibraryImport class

A library import which will be written as an import in the generated file.

Constructors

LibraryImport.new(String name, String _importPath, {String? importPathWhenImportedByPackageObjC})

Properties

hashCode int
The hash code for this object.
no setteroverride
name String
final
prefix String
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

importPath(bool generateForPackageObjectiveC) String
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override
visit(Visitation visitation) → void
Visit this node. All this method does is delegate to the visit method that is specific to this type of node.
inherited
visitChildren(Visitor visitor) → void
Visit this node's children. This is the method that actually understands the structure of the node. It should invoke Visitor.visit etc on all the node's children.
inherited

Operators

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