onDispose method

  1. @override
void onDispose(
  1. Timer value
)

Implementation

@override
void onDispose(Timer value) => value.cancel();