DartWitGeneratorWorld class

Constructors

DartWitGeneratorWorld.new({required DartWitGeneratorWorldImports imports, required WasmLibrary library})

Properties

hashCode int
The hash code for this object.
no setterinherited
imports DartWitGeneratorWorldImports
final
library WasmLibrary
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

generate({required WitGeneratorConfig config}) Result<WitFile, String>
Generates a world from the given configuration.
generateToFile({required WitGeneratorConfig config, required String filePath}) Result<void, String>
Generates a world from the given configuration to the filePath.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
withContext<T>(T fn()) → T

Operators

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