CleanFrameworkObserver class
The class to observe failures, route changes and other events.
Constructors
- CleanFrameworkObserver({bool enableNetworkLogs = true})
- Default constructor.
Properties
- enableNetworkLogs → bool
-
Enables network logs.
final
- 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
-
onExternalError(
Object externalInterface, Request request, Object error, StackTrace stackTrace) → void -
Called when an
error
is thrown by ExternalInterface for the givenrequest
. -
onFailureInput(
FailureInput failure) → void -
Called when a
failure
occurs in a gateway. -
onFailureResponse(
Object externalInterface, Request request, FailureResponse failureResponse) → void -
Called when a
failureResponse
occurs for the givenrequest
. -
onLocationChanged(
String location) → void -
Called when
location
of the route changes. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- instance ↔ CleanFrameworkObserver
-
Default instance of CleanFrameworkObserver.
getter/setter pair