Polls class
Методы для работы с опросами.
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
-
addVote<
T> (Map< String, Object> params) → Future<ApiResponse< T> > - Adds the current user's vote to the selected answer in the poll.
-
create<
T> (Map< String, Object> params) → Future<ApiResponse< T> > - Creates polls that can be attached to the users' or communities' posts.
-
deleteVote<
T> (Map< String, Object> params) → Future<ApiResponse< T> > - Deletes the current user's vote from the selected answer in the poll.
-
edit<
T> (Map< String, Object> params) → Future<ApiResponse< T> > - Edits created polls
-
getBackgrounds<
T> (Map< String, Object> params) → Future<ApiResponse< T> > - Возвращает варианты фонового изображения для опросов.
-
getById<
T> (Map< String, Object> params) → Future<ApiResponse< T> > - Returns detailed information about a poll by its ID.
-
getPhotoUploadServer<
T> (Map< String, Object> params) → Future<ApiResponse< T> > - Возвращает адрес сервера для загрузки фоновой фотографии в опрос.
-
getVoters<
T> (Map< String, Object> params) → Future<ApiResponse< T> > - Returns a list of IDs of users who selected specific answers in the poll.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
savePhoto<
T> (Map< String, Object> params) → Future<ApiResponse< T> > - Сохраняет фотографию, загруженную в опрос.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited