Skip to content

GetPackageById

Entity(Bootstrap.PackageDefinition)? GetPackageById(String id)

System · system operation · implicitly imported

Returns a package by its id.

Parameters

  • String id — The id of the package.

Returns

Entity(Bootstrap.PackageDefinition)? — The package entity with the given id.

Errors

A runtime type error if id is not a String.

See Also