FakeServerOptions class final
The settings of a FakeServer; every value the fake reports to clients has the default of 04 18 or 08 18 and can be shortened by tests.
Constructors
- FakeServerOptions({GatewayTimings timings = const GatewayTimings(), Duration accessTokenTtl = const Duration(minutes: 10), DateTime now()?})
-
Creates the settings.
const
Properties
- accessTokenTtl → Duration
-
auth.access_token_ttl.final - hashCode → int
-
The hash code for this object.
no setterinherited
- now → DateTime Function()?
-
The time source of the world (UTC); default the system time.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- timings → GatewayTimings
-
The values the gateway reports and uses.
final
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