diff --git a/mobx/lib/src/api/observable_collections/observable_list.dart b/mobx/lib/src/api/observable_collections/observable_list.dart index 692bc1bc7..1175127c4 100644 --- a/mobx/lib/src/api/observable_collections/observable_list.dart +++ b/mobx/lib/src/api/observable_collections/observable_list.dart @@ -40,6 +40,8 @@ class ObservableList final Atom _atom; final List _list; + List get nonObservableInner => _list; + Listeners>? _listenersField; Listeners> get _listeners => diff --git a/mobx/lib/src/api/observable_collections/observable_map.dart b/mobx/lib/src/api/observable_collections/observable_map.dart index 842e9fff6..be1cd7d4d 100644 --- a/mobx/lib/src/api/observable_collections/observable_map.dart +++ b/mobx/lib/src/api/observable_collections/observable_map.dart @@ -58,6 +58,8 @@ class ObservableMap final Atom _atom; final Map _map; + Map get nonObservableInner => _map; + String get name => _atom.name; Listeners>? _listenersField; diff --git a/mobx/lib/src/api/observable_collections/observable_set.dart b/mobx/lib/src/api/observable_collections/observable_set.dart index 520bf495c..663d449e7 100644 --- a/mobx/lib/src/api/observable_collections/observable_set.dart +++ b/mobx/lib/src/api/observable_collections/observable_set.dart @@ -61,6 +61,8 @@ class ObservableSet final Atom _atom; final Set _set; + Set get nonObservableInner => _set; + String get name => _atom.name; Listeners>? _listenersField;