RequestPayload class

Representation of a request payload. Currently only contains the request instance, but may contain more contextual information in the future.

The request instance can be type checked and cast to FormRequest, JsonRequest, MultipartRequest, Request, or StreamedRequest as necessary.

Constructors

RequestPayload(BaseRequest request)

Properties

hashCode int
The hash code for this object.
no setterinherited
request BaseRequest
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