HiddenApiManager mixin
Mixin that manages hidden APIs for API logging.
- Superclass constraints
- Mixin applications
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isLogCurl ↔ bool
-
Whether curl logging is enabled.
getter/setter pairinherited
- isLogEnabled ↔ bool
-
Whether logging is enabled.
getter/setter pairinherited
- isShowHiddenApis ↔ bool
-
Whether hidden APIs should be shown.
getter/setter pair
-
models
↔ List<
BaseModel> -
The list of models tracked by the logger.
getter/setter pairinherited
-
The navigator key for navigation operations.
getter/setter pairinherited
-
removeApis
↔ List<
String> -
List of APIs to be hidden.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- saveManager ↔ SaveManager
-
The save manager for persistent storage.
getter/setter pairinherited
Methods
-
addHideApi(
String api) → void - Adds an API to the hidden list and persists the change.
-
clearHiddenApis(
{bool isClearSavedData = false}) → void - Clears all hidden APIs, optionally clearing saved data as well.
-
initHiddenApi(
) → Future - Initializes the hidden API manager and loads saved hidden APIs.
-
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
Constants
- hideApiKey → const String
- Key for saving hidden API data.