InterchangeEvent class
Interchange event data
- Annotations
-
- @JsonSerializable(createToJson: false)
Constructors
-
InterchangeEvent({required String path, required String method, required Map<
String, List< headersAll, required Map<String> >String, List< query, Map<String> >String, String> parameter = const <String, String>{}, required String rawPath, required String base64Body, required String body, required Object? objectBody}) -
Interchange event constructor
const
-
InterchangeEvent.fromJson(Map<
String, dynamic> json) -
JSON to InterchangeEvent converter
factory
Properties
- base64Body → String
-
Base64 encoded body
final
- body → String
-
String body
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
headersAll
→ Map<
String, List< String> > -
All headers
final
- method → String
-
Requested method
final
- objectBody → Object?
-
Object parsed body if Content-Type == application/json
final
-
parameter
→ Map<
String, String> -
Path placeholder parameters
final
- path → String
-
Requested path
final
-
query
→ Map<
String, List< String> > -
Query parameters
final
- rawPath → String
-
Raw path
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