dispose property

void Function(BuildContext context, ReactiveModel<R>? rm, T? mix)? dispose
final
StateWithMixinBuilder(
 dispose:(BuildContext context,  TickerProvider ticker)=> myModel.dispose([context, ticker]),
 MixinWith : MixinWith.singleTickerProviderStateMixin
 builder:(BuildContext context, ReactiveModel model) =>MyWidget(),
)

Called when this object is removed from the tree permanently.

The second parameter depends on the mixin used. It is a TickerProvider for tickerProviderStateMixin

Implementation

final void Function(BuildContext context, ReactiveModel<R>? rm, T? mix)?
    dispose;