ProjectRole constructor

ProjectRole({
  1. List<RoleActor>? actors,
  2. bool? admin,
  3. bool? currentUserRole,
  4. bool? default$,
  5. String? description,
  6. int? id,
  7. String? name,
  8. bool? roleConfigurable,
  9. Scope? scope,
  10. String? self,
  11. String? translatedName,
})

Implementation

ProjectRole(
    {List<RoleActor>? actors,
    bool? admin,
    bool? currentUserRole,
    bool? default$,
    this.description,
    this.id,
    this.name,
    bool? roleConfigurable,
    this.scope,
    this.self,
    this.translatedName})
    : actors = actors ?? [],
      admin = admin ?? false,
      currentUserRole = currentUserRole ?? false,
      default$ = default$ ?? false,
      roleConfigurable = roleConfigurable ?? false;