APICallback class Null safety
A map of possible out-of band callbacks related to the parent operation.
Each value in the map is a APIPath that describes a set of requests that may be initiated by the API provider and the expected responses. The key value used to identify the callback object is an expression, evaluated at runtime, that identifies a URL to use for the callback operation.
Constructors
-
APICallback({Map<
String, APIPath> ? paths}) - APICallback.empty()
Properties
-
castMap
→ Map<
String, Cast> ? -
read-onlyinherited
-
extensions
↔ Map<
String, dynamic> -
read / writeinherited
- hashCode → int
-
The hash code for this object.
read-onlyinherited
-
paths
↔ Map<
String, APIPath> ? -
Callback paths.
read / write
- referenceURI ↔ Uri?
-
read / writeinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
Methods
-
decode(
KeyedArchive object) → void -
override
-
encode(
KeyedArchive object) → void -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited