setAllowPublic method

Future<Project> setAllowPublic(
  1. bool allowPublic
)

Alias for setPublic using the allow_public terminology.

This exists because assigning project.allowPublic = true is not possible (the field is immutable) and callers often look for an explicit setAllowPublic(...) method.

Implementation

Future<Project> setAllowPublic(bool allowPublic) => setPublic(allowPublic);