addPackage static method
Add a package to your pubspec.yaml file.
Implementation
static addPackage(String package) async {
await runProcess("dart pub add $package");
}
Add a package to your pubspec.yaml file.
static addPackage(String package) async {
await runProcess("dart pub add $package");
}