addPackage method
Add a package to the pubspec.yaml file
Implementation
Future<void> addPackage(
String package, {
String? version,
bool dev = false,
}) async {
await MetroService.addPackage(package, dev: dev, version: version);
}
Add a package to the pubspec.yaml file
Future<void> addPackage(
String package, {
String? version,
bool dev = false,
}) async {
await MetroService.addPackage(package, dev: dev, version: version);
}