Transpiler class final

Constructors

Transpiler({required String package, required String targetPath, required String dirName, required String? contextCheck, required Iterable<String> uses, required List<String> distFiles, required String? targetMainFile})

Properties

contextCheck → String?
final
dirName → String
final
distFiles → List<String>
final
hashCode → int
The hash code for this object.
no setterinherited
package → String
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
targetMainFile → String?
final
targetPath → String
final
uses → Iterable<String>
final

Methods

dir([String path = '']) → String
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pkgDir(String package) → String
toString() → String
A string representation of this object.
inherited

Operators

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

Static Methods

fromNpm({required String package, required String version, required String targetPath, required String dirName, Iterable<String> files = const [], ({bool import, bool typings}) packageJson = (typings: true, import: true), String? contextCheck, Iterable<String> distFiles = const [], Iterable<String> uses = const {}, String? targetMainFile, bool force = false, bool fetchExternals = true}) → Future<InteropProject>
fromUrls({required String package, required String version, required Iterable<String> urls, required String targetPath, required String dirName, String? contextCheck, Iterable<String> distFiles = const [], List<String> uses = const [], String? targetMainFile, bool force = false}) → Future<InteropProject>