RecordedRequest class

A request a MockSupabaseHttpClient has answered, with its body already read, so a test can assert on what the code under test sent.

Annotations
  • @visibleForTesting

Properties

body String
The request body decoded as UTF-8.
no setter
bodyBytes Uint8List
final
hashCode int
The hash code for this object.
no setterinherited
headers Map<String, String>
final
jsonBody → dynamic
The request body decoded as JSON.
no setter
method String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
url Uri
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

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