MisterFrodo class

Constructors

MisterFrodo.new({required String apiKey, String? baseUrl, bool cache = true, bool debug = false})

Properties

apiKey String
final
baseUrl String?
final
dio → dynamic
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getBookById(String id) Future<ResponseWrapper<Book>>
getBooks({int limit = 100, int offset = 0, String? sort, Map<String, dynamic>? filter}) Future<ResponseWrapper<Book>>
getChapterById(String id) Future<ResponseWrapper<BookChapter>>
getChapters({int limit = 100, int offset = 0, String? sort, Map<String, dynamic>? filter}) Future<ResponseWrapper<BookChapter>>
getChaptersByBookId(String id, {int limit = 100, int offset = 0, String? sort, Map<String, dynamic>? filter}) Future<ResponseWrapper<BookChapter>>
getCharacterById(String id) Future<ResponseWrapper<Character>>
getCharacters({int limit = 100, int offset = 0, String? sort, Map<String, dynamic>? filter}) Future<ResponseWrapper<Character>>
getMovieById(String id) Future<ResponseWrapper<Movie>>
getMovies({int limit = 100, int offset = 0, String? sort, Map<String, dynamic>? filter}) Future<ResponseWrapper<Movie>>
getQuoteById(String id) Future<ResponseWrapper<Quote>>
getQuotes({int limit = 100, int offset = 0, String? sort, Map<String, dynamic>? filter}) Future<ResponseWrapper<Quote>>
getQuotesByCharacterId(String id, {int limit = 100, int offset = 0, String? sort, Map<String, dynamic>? filter}) Future<ResponseWrapper<Quote>>
getQuotesByMovieId(String id, {int limit = 100, int offset = 0, String? sort, Map<String, dynamic>? filter}) Future<ResponseWrapper<Quote>>
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