DartvelPubspecConfig class

The configuration a dartvel: object describes, as a DartvelConfig.

What the YAML spelling becomes on its way into the same typed shape, and the other half of the round trip the parity tests hold.

Inheritance

Constructors

DartvelPubspecConfig.fromPubspec(Map<Object?, Object?> section)
Reads section, the dartvel: object. Problems are collected, not thrown, in the same words the build prints.
factory

Properties

fileAssociations → List<DVFileAssociation>
dartvel.fileAssociations: the file types the application opens.
final
hashCode → int
The hash code for this object.
no setterinherited
problems → List<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
toPubspec() → Map<String, Object?>
The dartvel: object this configuration is, as the YAML would have written it. Fields at their defaults are left out.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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