WordpressEvents class

Constructors

WordpressEvents({void onError(WordpressError error)?, void onResponse(dynamic response)?, ReceiveProgressCallback? onReceive, SendProgressCallback? onSend, void onCancel()?})
const

Properties

hashCode int
The hash code for this object.
no setterinherited
onCancel → (void Function()?)
final
onError → (void Function(WordpressError error)?)
Invoked from an exception is thrown from internal Dio instance or from a failed request.
final
onReceive ReceiveProgressCallback?
Invoked when response is received. This is directly invoked from Dio.
final
onResponse → (void Function(dynamic response)?)
Invoked when response is received.
final
onSend SendProgressCallback?
Invoked when request is sent. This is directly invoked from Dio.
final
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
toString() String
A string representation of this object.
inherited

Operators

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