pubspec2 library
The pubspec library.
A library for manipulating pubspec files
Classes
- DependencyReference
- Environment
- Executable
- Defines an executable listed in the 'exectuables' section of the pubspec.yaml.
- ExternalHostedReference
- GitReference
- HostedReference
- PathReference
- PubSpec
- Represents a pubspec.
- SdkReference
- YamlToString
Functions
-
getKnownType(
Iterable keys) → String - The dependency type by convention is the first key however there is no require that it is the first so we need to search the map of keys to see if a know type exits.