MockForceRequest class

Constructors

MockForceRequest({dynamic postData: "test"})

Properties

asyncFuture Future
read-only
cookies List<Cookie>
read-only
hashCode int
The hash code for this object. [...]
read-only, inherited
isForwarded bool
read-only
locale ↔ dynamic
read / write
mockCookies List<Cookie>
read / write
path_variables Map<String, String>
read / write
postData ↔ dynamic
read / write
postParams Map<String, String>
read / write
request HttpRequest
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

accepts(String type) bool
async(dynamic value) → void
getBody() Stream
getOutputBody() IOSink
getPostData({bool usejson: true}) Future
getPostParams({Encoding enc: utf8}) Future<Map<String, String>>
getPostRawData() Future<Map<String, String>>
getRequestHeaders() → dynamic
getResponseHeaders() → dynamic
isMime(String type) bool
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
statusCode(int statusCode) → void
toString() String
Returns a string representation of this object.
inherited

Operators

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