utils library

Classes

Definition
A typical script definition.
Info
Package information which includes package name & version with both being String.
Pubspec
A singleton class that reads and caches the content of pubspec.yaml in current directory and provides utilities for .
Reference
A helper class to represent a reference to a script.
ScriptsRegistry
A class that holds scripts and provides utilities to work with them.

Constants

descriptionDefinitionKey → const String
Key used to define script description.
pubspecFileName → const String
referenceNestingDelimiter → const String
referencePrefix → const String
scriptsDefinitionKey → const String
Key used to define scripts.
scriptsKey → const String

Functions

readYamlMap(String filePath) Future<Map>
Reads and returns a yaml file if exists and if the content is a map.

Typedefs

JsonMap = Map<String, dynamic>
Json serializable map.