ProjectsApi class
Constructors
- ProjectsApi(Dio _dio)
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
-
addUsersToProject(
String projectId, List< Map< relations) → Future<String, dynamic> >Response> - Add users to a project
-
changeUserRoleInProject(
String projectId, String userId, String role) → Future< Response> - Change a user's role in a project
-
createProject(
Map< String, dynamic> projectData) → Future<Response> - Create a project
-
deleteProject(
String projectId) → Future< Response> - Delete a project
-
getProjects(
{int? limit, String? cursor}) → Future< Response> - Retrieve all projects
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
removeUserFromProject(
String projectId, String userId) → Future< Response> - Remove a user from a project
-
toString(
) → String -
A string representation of this object.
inherited
-
updateProject(
String projectId, Map< String, dynamic> updatedProjectData) → Future<Response> - Update a project
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited