Notes class

Методы для работы с заметками.

Constructors

Notes.new(Api _api)
Конструктор.

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

add<T>(Map<String, Object> params) Future<ApiResponse<T>>
Creates a new note for the current user.
createComment<T>(Map<String, Object> params) Future<ApiResponse<T>>
Adds a new comment on a note.
delete<T>(Map<String, Object> params) Future<ApiResponse<T>>
Deletes a note of the current user.
deleteComment<T>(Map<String, Object> params) Future<ApiResponse<T>>
Deletes a comment on a note.
edit<T>(Map<String, Object> params) Future<ApiResponse<T>>
Edits a note of the current user.
editComment<T>(Map<String, Object> params) Future<ApiResponse<T>>
Edits a comment on a note.
get<T>(Map<String, Object> params) Future<ApiResponse<T>>
Returns a list of notes created by a user.
getById<T>(Map<String, Object> params) Future<ApiResponse<T>>
Returns a note by its ID.
getComments<T>(Map<String, Object> params) Future<ApiResponse<T>>
Returns a list of comments on a note.
getFriendsNotes<T>(Map<String, Object> params) Future<ApiResponse<T>>
Возвращает список заметок друзей пользователя.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
restoreComment<T>(Map<String, Object> params) Future<ApiResponse<T>>
Restores a deleted comment on a note.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited