FileSystemPaths class
The paths in the file system that contain the wit files.
- Implemented types
Constructors
- FileSystemPaths.new({required String inputPath})
-
The paths in the file system that contain the wit files.
const
- FileSystemPaths.fromJson(Object? json_)
-
Returns a new instance from a JSON value.
May throw if the value does not have the expected structure.
factory
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- inputPath → String
-
May be a file or a directory.
When it is a directory, all files in the directory will be used as input.
When it is a file, only that file will be used as input, and
you will not be able to use
use pkg
imports. The file name will be used as the name of the generated world.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
copyWith(
{String? inputPath}) → FileSystemPaths - Returns a new instance by overriding the values passed as arguments
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object?> -
Returns a JSON representation of this.
override
-
toString(
) → String -
A string representation of this object.
override
-
toWasm(
) → List< Object?> -
Returns this as a WASM canonical abi value.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override