Model
Model store and manage view-model related data in a lifecycle conscious way.
info
Model is not aware of existence of the view-model according to dependency rule of clean architecture.
Lifecycle#
Most of these callbacks are optionals but can be overriden according to our needs.
onCreate#
void onCreate()This callback is called by the view after creation of the view.
onDispose#
void onDispose()This callback is called by the view before disposition of the view.