pubspecYamlGetVersion function

Version pubspecYamlGetVersion(
  1. Map yaml
)

Get the package version from pubspec.yaml

Implementation

Version pubspecYamlGetVersion(Map yaml) =>
    Version.parse(yaml['version'] as String);