MockManager mixin
- Superclass constraints
- Mixin applications
Properties
-
getRequestModels
↔ List<
RequestModel> Function()? -
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- isLogEnabled ↔ bool
-
getter/setter pairinherited
-
mockApis
↔ Map<
String, MockApi> -
getter/setter pair
-
getter/setter pairinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- saveManager ↔ SaveManager
-
getter/setter pairinherited
Methods
-
addOrUpdateMockApi(
MockApi mockApi) → dynamic -
checkHasMockApi(
String? originalUrl) → bool -
clearMockApis(
{bool isClearSavedData = false}) → dynamic -
getMockApi(
String url) → MockApi? -
initMock(
{List< RequestModel> getRequestModels()?}) → dynamic -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
removeMockApi(
String originalUrl) → dynamic -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- mockApiKey → const String