CarapaceSpecWriter class final

Writes a record-derived Carapace spec to the platform's spec directory.

Production writers use the operating system's Carapace configuration directory. Development writers use a matching directory below the system temp directory so local runs do not modify the user's installed specs.

Constructors

CarapaceSpecWriter(CarapaceSpecConverter converter, {bool development = false, String? outputPath})

Properties

converter → CarapaceSpecConverter
final
development → bool
final
hashCode → int
The hash code for this object.
no setterinherited
path → String
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited
write() → File
Writes the converted registry record and returns the created file.

Operators

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