discontinuedPackage pubspec2 has been discontinued and replaced by pubspec_manager.

environment property

Environment? environment
final

Implementation

final Environment? environment;