CallbackProvider class

Constructors

CallbackProvider.new(List<EndpointConfig> endpoints)

Properties

endpoints List<EndpointConfig>
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

defaultHandler(BridgeMockzillaHttpRequest request, String key) → BridgeMockzillaHttpResponse
Returns the default response for the endpoint associated with key.
endpointMatcher(BridgeMockzillaHttpRequest request, String key) bool
Calls the matcher on the specified endpoint.
errorHandler(BridgeMockzillaHttpRequest request, String key) → BridgeMockzillaHttpResponse
Returns the default error response for the endpoint associated with key.
log(BridgeLogLevel logLevel, String message, String tag, String? exception) → void
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