resetNetworkFps method
- dynamic _
Saves the frames in the past second (framesThisSecond) to networkFps.
Implementation
void resetNetworkFps([_]) {
networkFps = Map.from(framesThisSecond);
framesThisSecond = {
for (final name in CameraName.values)
name: 0,
};
notifyListeners();
}