PiholeApiParams class
A convenience class for API parameters.
- Annotations
-
- @freezed
Constructors
Properties
- adminHome → String
-
The local admin path of the host.
no setterinherited
- adminUrl → String
-
The home URL of the admin interface.
latefinal
- allowSelfSignedCertificates → bool
-
Allow unsigned certificates.
no setterinherited
- apiPath → String
-
The local API path of the host.
no setterinherited
- apiToken → String
-
The API token shown by the admin dashboard.
no setterinherited
- apiTokenRequired → bool
-
Whether API tokens are enabled.
no setterinherited
- apiUrl → String
-
The base URL of the API endpoints.
latefinal
- baseUrl → String
-
The URL of the host.
no setterinherited
-
copyWith
→ $PiholeApiParamsCopyWith<
PiholeApiParams> -
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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