@@ -364,19 +364,19 @@ class CorePerAccountStore {
364
364
/// A base class for [PerAccountStore] and its substores,
365
365
/// with getters providing the items in [CorePerAccountStore] .
366
366
abstract class PerAccountStoreBase {
367
- PerAccountStoreBase ({required CorePerAccountStore core})
368
- : _core = core;
367
+ PerAccountStoreBase ({required this .core});
369
368
370
- final CorePerAccountStore _core;
369
+ @protected
370
+ final CorePerAccountStore core;
371
371
372
372
////////////////////////////////
373
373
// Where data comes from in the first place.
374
374
375
- GlobalStore get _globalStore => _core ._globalStore;
375
+ GlobalStore get _globalStore => core ._globalStore;
376
376
377
- ApiConnection get connection => _core .connection;
377
+ ApiConnection get connection => core .connection;
378
378
379
- String get queueId => _core .queueId;
379
+ String get queueId => core .queueId;
380
380
381
381
////////////////////////////////
382
382
// Data attached to the realm or the server.
@@ -398,7 +398,7 @@ abstract class PerAccountStoreBase {
398
398
////////////////////////////////
399
399
// Data attached to the self-account on the realm.
400
400
401
- int get accountId => _core .accountId;
401
+ int get accountId => core .accountId;
402
402
403
403
/// The [Account] this store belongs to.
404
404
///
@@ -413,7 +413,7 @@ abstract class PerAccountStoreBase {
413
413
/// This always equals the [Account.userId] on [account] .
414
414
///
415
415
/// For the corresponding [User] object, see [UserStore.selfUser] .
416
- int get selfUserId => _core .selfUserId;
416
+ int get selfUserId => core .selfUserId;
417
417
}
418
418
419
419
const _tryResolveUrl = tryResolveUrl;
0 commit comments