Project.getDependency

Retrieves a particular dependency by name.

class Project
inout
inout(Package)
getDependency
(
string name
,)

Parameters

name string

(Qualified) package name of the dependency

is_optional bool

If set to true, will return null for unsatisfiable dependencies instead of throwing an exception.

Meta