createTimer abstract method Null safety
- Duration duration,
- void callback(
Creates a Timer where the callback is executed in this zone.
Implementation
Timer createTimer(Duration duration, void Function() callback);
Creates a Timer where the callback is executed in this zone.
Timer createTimer(Duration duration, void Function() callback);