create<T> method

Future<ApiResponse<T>> create<T>(
  1. Map<String, Object> params
)

Creates polls that can be attached to the users' or communities' posts.

Implementation

Future<ApiResponse<T>> create<T>(Map<String, Object> params) =>
    _api.request<T>('polls.create', params);