MomentumModel<Controller extends MomentumController> constructor
const
MomentumModel<Controller extends MomentumController> (
- Controller controller
The class which holds the state of your app. This is tied with MomentumController.
Implementation
const MomentumModel(this.controller);