discontinuedPackage pubspec2 has been discontinued and replaced by pubspec_manager.

ref property

String? ref
final

Implementation

final String? ref;