Used to inject a SamModel instance into the widget tree.
It creates a SamInject instance that manages the lifecycle events of the widget tree.
Widget samInject(SamModel sm) { return SamInject(sm); }