ToolEnvironment class

Constructors

ToolEnvironment.fake({String? pubCacheDir, PanaCache? panaCache, Map<String, String> environment = const <String, String>{}, required PanaRuntimeInfo runtimeInfo})

Properties

hashCode int
The hash code for this object.
no setterinherited
panaCache → PanaCache
final
pubCacheDir String?
final
runtimeInfo PanaRuntimeInfo
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

dartdoc(String packageDir, String outputDir, {Duration? timeout, required bool usesFlutter}) Future<PanaProcessResult>
filesNeedingFormat(String packageDir, bool usesFlutter, {int? lineLength}) Future<List<String>>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
runAnalyzer(String packageDir, String dir, bool usesFlutter, {required InspectOptions inspectOptions}) Future<String>
runPubOutdated(String packageDir, {List<String> args = const [], required bool usesFlutter}) Future<Outdated>
runUpgrade(String packageDir, bool usesFlutter, {int retryCount = 3}) Future<PanaProcessResult>
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

create({SdkConfig? dartSdkConfig, SdkConfig? flutterSdkConfig, String? pubCacheDir, String? panaCacheDir, String? pubHostedUrl, String? dartdocVersion}) Future<ToolEnvironment>