CoproductTestHarness constructor
CoproductTestHarness({
- String anonymousId = 'test-anonymous-id',
Creates a harness with no flags set.
anonymousId is the targeting key the client uses before an identity
call, and the one signOut returns to
Implementation
CoproductTestHarness({String anonymousId = 'test-anonymous-id'})
: _backend = InMemoryBackend(anonymousId: anonymousId) {
_client = createClientForBackend(_backend);
}