PermissionOverrideBuilder.of constructor Null safety

PermissionOverrideBuilder.of(
  1. SnowflakeEntity entity
)

Create PermissionsOverrides for given entity. Entity have to be either Role or Member

Implementation

PermissionOverrideBuilder.of(SnowflakeEntity entity) : type = entity is Role ? 0 : 1, id = entity.id, super();