ruqqus_dart library

Classes

AccountDeletion
Data structure for deleting a user account
API
Provides an interface for calling Ruqqus API endpoints
Badge
Data structure for a badge bearable by a user
Body
Text body containing both plain text and a html representation
Client
The principal class for interacting with the Ruqqus API
Comment
Data structure for a comment submission
Disable2FA
Data structure for disabling 2FA
Enable2FA
Data structure for enabling 2FA
Guild
Data structure comprising information about a guild / board
GuildFlags
Indicators of a guild
Post
Data structure for a post submission
PostContent
Data structure for the content of a post
Primary
Base class for common data structures
ProfileSettings
Data structure for a user account's profile settings
SubmissionFlags
Indicators of a submission
SubmissionStats
Statistics of a submission
SubmissionVotes
Statistics of votes on a submission
Title
Data structure for a title that follows a user's name
UpdateEmail
Data structure for updating an email
UpdatePassword
Data structure for updating a password
User
Data structure comprising information about a user account
UserFlags
Indicators of a user account
UserStats
Statistics of a user account

Enums

SortType
How submissions are sorted when requesting listing data
SubmissionType
The type of submission

Constants

charList → const String

Properties

random Random
final

Functions

generateRandomString({int length = 32, bool addSpaces = false}) String
Generates a random string of length length
routeToUri(String route) Uri?
Sets a string containing either a URL or route in URI format
wrapString(String target, [int wrapTo = 50]) String
Shortens a string to wrapTo characters and appends an ellipsis if the string was longer than wrapTo characters