FPS extension
A convenience extension for code style such as:
final framerate = 25.fps;
print(framerate.inMicroseconds); // 40
- on
Properties
- fps → FramesPerSecond
-
Returns the given integer as FramesPerSecond.
no setter
A convenience extension for code style such as:
final framerate = 25.fps;
print(framerate.inMicroseconds); // 40