PackageDependency constructor

PackageDependency({
  1. required String packageName,
  2. required String? packageVersion,
})

Implementation

factory PackageDependency({
  /// name of the package
  required String packageName,

  /// String representation of the version range. Can be null if the dependency is a path or git dependency
  required String? packageVersion,
}) = _PackageDependency;