discontinuedPackage pubspec2 has been discontinued and replaced by pubspec_manager.

Executable constructor

Executable(
  1. String? script
)

Implementation

Executable(this.script);