HttpService class
Methods
-
addhashtagPosts({required int? tagId, required int? postId})
→ Future<Response>
-
-
addNewhashtag({required String? tagName})
→ Future<Response>
-
-
addPost({required UserModel user, required String? title, required String? description, required String? type, String? attachedUrl, int? pollQuestionId})
→ Future<Response>
-
-
-
addReport({required int? typeId, required int? userId, required int? postId})
→ Future<Response>
-
-
authenticatePartner({required dynamic firstName, required dynamic profileImg, dynamic about, dynamic token, dynamic lastName, dynamic partnerId})
→ Future<Response>
-
-
authenticateUser({required dynamic firstName, required dynamic lastName, required dynamic about, required dynamic profileImg, required dynamic token, dynamic partnerId})
→ Future<Response>
-
-
createLog(Map<String, dynamic> data)
→ Future<Response>
-
-
createPollOption({required int? pollQuestion, required String option})
→ Future<Response>
-
-
createPollQuestion({required String question})
→ Future<Response>
-
-
createPollVote({required int? pollOption, required int? user})
→ Future<Response>
-
-
createStory({required String? text, required String? attachedUrl, required int? user, required String? type})
→ Future<Response>
-
-
fetchAllPollVotes()
→ Future<Response>
-
-
fetchAllPosts()
→ Future<Response>
-
-
fetchAllReports()
→ Future<Response>
-
-
fetchAllSubType()
→ Future<Response>
-
-
-
fetchEnableLogs()
→ Future<Response>
-
-
fetchFavoritePosts(dynamic currentUserId, dynamic saveId)
→ Future<Response>
-
-
fetchPostsByUserId(dynamic id)
→ Future<Response>
-
-
fetchReportByPostId(dynamic id)
→ Future<Response>
-
-
fetchSubReport(dynamic reportTypeId)
→ Future<Response>
-
-
fetchUser(dynamic id)
→ Future<Response>
-
-
get(dynamic url, {})
→ Future<Response>
-
-
getAllHashtags()
→ Future<Response>
-
-
getAllOptions()
→ Future<Response>
-
-
getAllStories()
→ Future<Response>
-
-
getAllVotes()
→ Future<Response>
-
-
getHashtagByTagName(dynamic tagName)
→ Future<Response>
-
-
getOptionsByQuestionId(dynamic questionId)
→ Future<Response>
-
-
-
getUsersRandom(dynamic skip)
→ Future<Response>
-
-
getVotesByOptionId(dynamic optionId)
→ Future<Response>
-
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
post(dynamic url, {dynamic body, Encoding? encoding})
→ Future<Response>
-
-
put(dynamic url, {dynamic body, Encoding? encoding})
→ Future<Response>
-
-
-
removePage({required int? storyId, required int? numPage})
→ Future<Response>
-
-
removePollVote({required dynamic pollVoteId})
→ Future<Response>
-
-
removePost({required dynamic postId})
→ Future<Response>
-
-
-
removeReport({required dynamic reportId})
→ Future<Response>
-
-
toString()
→ String
-
A string representation of this object.
inherited
-
updatePostReport({required int? postId})
→ Future<Response>
-
-
updateStory({required int? storyId, required String? attachedUrl, required String? text, required String? type})
→ Future<Response>
-
-
updateUserMedia({required dynamic socialMedia, required dynamic userId})
→ Future<Response>
-
-