MockServerOptions class

Options for configuring a MockServer.

Constructors

MockServerOptions()
Constructs default MockServerOptions.

Properties

enableMessageResponseGeneration ← bool
Enables or disables message response generation.
no getter
enableOptionalFieldGeneration ← bool
Enables or disables optional field generation.
no getter
generatedCollectionLengthMax ← int
Sets the maximum length for generated collections.
no getter
generatedCollectionLengthMin ← int
Sets the minimum length for generated collections.
no getter
hashCode → int
The hash code for this object.
no setterinherited
onError ← void Function(JSObject e)
Sets the error handler function.
no getter
randomizeOptionalFieldGeneration ← bool
Randomizes optional field generation.
no getter
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