HttpHandler class

Inheritance

Constructors

HttpHandler(HttpRequestType requestType, Uri endpointUri, {Map<String, dynamic>? headers, int requestTimeout = 5000, int responseTimeout = 5000, bool printLogs = false, bool enableDeviceParameters = true, bool enableApplicationParameters = true, bool enableStackTrace = true, bool enableCustomParameters = false, bool enableScreenRouters = true})

Properties

enableApplicationParameters bool
final
enableCustomParameters bool
final
enableDeviceParameters bool
final
enableScreenRouters bool
final
enableStackTrace bool
final
endpointUri Uri
final
hashCode int
The hash code for this object.
no setterinherited
headers Map<String, dynamic>
final
localizationOptions LocalizationOptions
Get currently used localization options
no setterinherited
logger TrackerLogger
Logger instance
getter/setter pairinherited
printLogs bool
final
requestTimeout int
final
requestType HttpRequestType
final
responseTimeout int
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getSupportedPlatforms() List<PlatformType>
Get list of supported platforms
override
handle(Report error, BuildContext? context) Future<bool>
Method called when report has been accepted by user
override
isContextRequired() bool
Check if given report mode requires context to run
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setLocalizationOptions(LocalizationOptions? localizationOptions) → void
Set localization options (translations) to this report mode
inherited
shouldHandleWhenRejected() bool
Check whether report mode should auto confirm without user confirmation.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited