We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 15f57e1 commit 1ceb290Copy full SHA for 1ceb290
test/example_data.dart
@@ -273,11 +273,12 @@ InitialSnapshot initialSnapshot({
273
crossRealmBots: crossRealmBots ?? [],
274
);
275
}
276
+const _initialSnapshot = initialSnapshot;
277
-PerAccountStore store() {
278
+PerAccountStore store({Account? account, InitialSnapshot? initialSnapshot}) {
279
return PerAccountStore.fromInitialSnapshot(
- account: selfAccount,
280
- connection: FakeApiConnection.fromAccount(selfAccount),
281
- initialSnapshot: initialSnapshot(),
+ account: account ?? selfAccount,
+ connection: FakeApiConnection.fromAccount(account ?? selfAccount),
282
+ initialSnapshot: initialSnapshot ?? _initialSnapshot(),
283
284
0 commit comments