ApiReactions class

Handler for calling API error reactions

Constructors

ApiReactions({FlutterSecureStorage? storage})
Contructor for the ApiReactions class

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

executeReaction(BuildContext context, String errorCode, [String? route]) → void
Call a reaction depending on the errorCode with the provided context If the error code is not associated with a reaction, the function does nothing
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