LeetcodeApiClient class

Available extensions

Constructors

LeetcodeApiClient({required String session, required String csrfToken})

Properties

csrfToken String
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
session String
final

Methods

getAllProblems({required int offset, required int pageSize}) Future<ProblemList>

Available on LeetcodeApiClient, provided by the LeetcodeApiClientProblems extension

getCommentReplies({required int commentId}) Future<List<Comment>>

Available on LeetcodeApiClient, provided by the LeetcodeApiClientDiscussions extension

getContestInfo({required String contestSlug}) Future<Contest>

Available on LeetcodeApiClient, provided by the LeetcodeApiClientContests extension

getContestRanking({required String contestSlug, required int page}) Future<ContestRanking>

Available on LeetcodeApiClient, provided by the LeetcodeApiClientContests extension

getDiscussion({required int topicId}) Future<Discussion>

Available on LeetcodeApiClient, provided by the LeetcodeApiClientDiscussions extension

getDiscussionComments({required int topicId, String? orderBy, required int offset, required int pageSize}) Future<List<Comment>>

Available on LeetcodeApiClient, provided by the LeetcodeApiClientDiscussions extension

getDiscussions({List<String> categories = const [], List<String> tags = const [], String? orderBy, String? searchQuery, required int offset}) Future<DiscussionList>

Available on LeetcodeApiClient, provided by the LeetcodeApiClientDiscussions extension

getProblemContentByTitleSlug({required String titleSlug}) Future<ProblemContent?>

Available on LeetcodeApiClient, provided by the LeetcodeApiClientProblems extension

getProblemsByTopic({required String topicTag}) Future<ProbemsByTopics>

Available on LeetcodeApiClient, provided by the LeetcodeApiClientProblems extension

getTopInterviewProblems({required int offset, required int pageSize}) Future<ProblemList>

Available on LeetcodeApiClient, provided by the LeetcodeApiClientProblems extension

getUserContestRankingHistory({required String username}) Future<UserContestRankingDetails>

Available on LeetcodeApiClient, provided by the LeetcodeApiClientUsers extension

getUserProfileCalendar({required String username}) Future<UserCalendar>

Available on LeetcodeApiClient, provided by the LeetcodeApiClientUsers extension

getUserPublicProfile({required String username}) Future<UserPublicProfile>

Available on LeetcodeApiClient, provided by the LeetcodeApiClientUsers extension

getUserRecentAcSubmissions({required String username, required int pageSize}) Future<List<AcSubmission>>

Available on LeetcodeApiClient, provided by the LeetcodeApiClientUsers extension

getUserSolveCountByDifficulty({required String username}) Future<UserSolveCountByDifficultyDetails>

Available on LeetcodeApiClient, provided by the LeetcodeApiClientUsers extension

getUserSolveCountByProblemTag({required String username}) Future<TagProblemsCount>

Available on LeetcodeApiClient, provided by the LeetcodeApiClientUsers extension

makeGraphQLRequest(String body, [String? url]) Future<Map<String, dynamic>>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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