MockServer class
A mock server for processing requests and sending responses.
Constructors
- MockServer(MockTelepactSchema schema, MockServerOptions options)
- Constructs a MockServer with a mock schema and options.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- 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
-
process(
Uint8List messageBytes) → Future< Uint8List> - Processes a request message and returns the response as a Uint8List.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited