pubspecYamlGetPackageName function

String? pubspecYamlGetPackageName(
  1. Map yaml
)

Get the package name from pubspec.yaml

Implementation

String? pubspecYamlGetPackageName(Map yaml) => yaml['name'] as String?;