build function Null safety

Future<void> build(
  1. [String? upgrade]
)

Implementation

Future<void> build([String? upgrade]) async {
  command = upgrade;
  var packageRoot = Directory.current.path;
  var root = LocalPkgReader(packageRoot).loadSpec();
  await deepSearch(root);
}