getPermissions property

List<Permission> getPermissions

An array of Permission required for this Offer.

Use the permission method to manage the Offer permissions. This method adds a new Permission object to the _permissions array ensuring that the permissions array is correctly initialized and avoiding any potential overrides.

Additionally, this method returns the Offer object to enable convenient chaining of method calls during offer initialization.

Additionally, this method returns the Offer object to enable convenient chaining of method calls during offer initialization.

Implementation

List<Permission> get getPermissions => _permissions;