MDClient class Null safety
Main class containing all the communication with the API
Constructors
Properties
Methods
-
getChapter(
String uuid, {bool useLogin = false}) → Future< Chapter?> - Gets the chapter specified by the UUID [...]
-
getCovers(
String mangaUuid, {bool useLogin = false}) → Future< List< String> ?> -
Gets
10
of available cover images for a manga [...] -
getGroup(
String uuid, {bool useLogin = false}) → Future< Group?> - Gets information about a Scanlation Group [...]
-
getManga(
String uuid, {bool appendChapters = false, List< String> translatedLang = const [], bool useLogin = false}) → Future<Manga?> - Gets information about manga [...]
-
getMangaFeed(
) → Future< List< Chapter> > - Returns the latest chapters of the currently logged in user's followed manga [...]
-
getUser(
String uuid, {bool useLogin = false}) → Future< User?> - Gets user [...]
-
login(
String username, String password) → Future< void> - Gets the JWT and refresh token through the API [...]
-
logout(
) → Future< void> - Invalidates current sesssion
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
refreshToken(
) → void - Refreshes the auth token using the saved refresh token
-
search(
{String mangaTitle = '', List< String> authors = const [], List<String> includedTags = const [], List<String> excludedTags = const [], List<String> status = const [], List<String> demographic = const [], bool useLogin = false}) → Future<List< Manga> > - Search for manga [...]
-
searchGroups(
{bool useLogin = false, String name = '', List< String> ids = const []}) → Future<List< Group> > - Searches for groups with the given parameters [...]
-
solveCaptcha(
String captchaResult) → Future< void> - Sends the captcha result to the API server [...]
-
toString(
) → String -
A string representation of this object. [...]
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited