ProjectBuilder class
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
build(
) → Project -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
withArchivedAt(
DateTime? archivedAt) → ProjectBuilder -
withCapsules(
List< Capsule> ? capsules) → ProjectBuilder -
withCloudProjectId(
String cloudProjectId) → ProjectBuilder -
withCreatedAt(
DateTime createdAt) → ProjectBuilder -
withDeveloperUser(
User user) → ProjectBuilder -
withId(
int id) → ProjectBuilder -
withOwner(
Owner? owner) → ProjectBuilder -
withRoles(
List< Role> ? roles) → ProjectBuilder -
withUpdatedAt(
DateTime? updatedAt) → ProjectBuilder -
withUserOwner(
User user) → ProjectBuilder - Creates a project with a user as owner and admin role. Calling this method resets the roles in the builder.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited