ProjectService class abstract
- Annotations
-
- @RestApi(baseUrl: baseUrl)
Constructors
- ProjectService(Dio dio, {String baseUrl})
-
factory
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
-
closeTask(
String id) → Future< void> -
createComment(
CommentDataRequest commentData) → Future< CommentModel> -
createProject(
Map< String, dynamic> body) → Future<ProjectModelResponse> -
createTask(
TaskDataRequest taskData) → Future< TaskModelResponse> -
deleteProjects(
String projectId) → Future< void> -
deleteTask(
String id) → Future< void> -
getAllComments(
String taskId) → Future< List< CommentModel> > -
getProjects(
) → Future< List< ProjectModelResponse> > -
getTask(
String id) → Future< TaskModelResponse> -
getTasks(
String? projectId) → Future< List< TaskModelResponse> > -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
updateTask(
TaskDataRequest taskData, String id) → Future< TaskModelResponse>
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited