licenses property

List<String>? licenses
getter/setter pair

The list of licenses found that are related to a given package.

Note that licenses may also be stored on the BinarySourceInfo. If there is no BinarySourceInfo (because there's no concept of source vs binary), then it will be stored here, while if there are BinarySourceInfos, it will be stored there, as one source can have multiple binaries with different licenses.

Implementation

core.List<core.String>? licenses;