'Why do we use abstract class for creating stores in Mobx in Flutter?
I am new to using Mobx in Flutter and I noticed that whenever we create a new mobx store, we first declare a private abstract class with Store as mixin.
class AppState = _AppState with _$AppState;
abstract class _AppState with Store {
}
I understand this is the correct way to do so, I'm just wondering why do we do this and what's the meaning behind this?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
