hasPermission method

bool hasPermission(
  1. int permission
)

Returns true if this permissions has permission

Implementation

bool hasPermission(int permission) =>
    PermissionsUtils.isApplied(this.raw, permission);