Constructor
new Todo(TodoInfo)
Parameters:
| Name | Type | Description |
|---|---|---|
TodoInfo |
Object | Information about the todo |
Members
id
Properties:
| Name | Type | Description |
|---|---|---|
id |
number | Todo id |
content
Properties:
| Name | Type | Description |
|---|---|---|
content |
string | Todo content |
isCompleted
Properties:
| Name | Type | Description |
|---|---|---|
isCompleted |
boolean | Todo is complete |
category
Properties:
| Name | Type | Description |
|---|---|---|
category |
string | Todo category |
tags
Properties:
| Name | Type | Description |
|---|---|---|
tags |
Array.<Tag> | todo tag |