Overseerr class
The core class to handle all connections to Overseerr. Gives you easy access to all implemented command handlers, initialized and ready to call.
Overseerr handles the creation of the initial Dio
HTTP client & command handlers.
You can optionally use the factory .from()
to define your own Dio
HTTP client.
Constructors
-
Overseerr({required String host, required String apiKey, Map<
String, dynamic> ? headers, bool followRedirects = true, int maxRedirects = 5}) -
Create a new Overseerr API connection manager to connection to your instance.
This default factory/constructor will create the
Dio
HTTP client for you given the parameters.factory - Overseerr.from({required Dio client})
-
Create a new Overseerr API connection manager to connection to your instance.
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- httpClient → Dio
-
The
Dio
HTTP client built during initialization.final - requests → OverseerrCommandHandler_Requests
-
Command handler for all request command-related API calls.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status → OverseerrCommandHandler_Status
-
Command handler for all status command-related API calls.
final
- users → OverseerrCommandHandler_Users
-
Command handler for all user command-related API calls.
final
Methods
-
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