SimulatedWeatherProvider constructor
SimulatedWeatherProvider({
- Duration interval = const Duration(seconds: 5),
Creates a simulated weather provider.
interval controls how frequently conditions change. Default is 5
seconds for demo pacing; tests can set a shorter interval.
Implementation
SimulatedWeatherProvider({
this.interval = const Duration(seconds: 5),
});