FramesPerSecond class

An abstraction of the number of frames per second, with helper methods.

Constructors

FramesPerSecond(int fps)
const

Properties

duration Duration
The Duration of one frame.
no setter
fps int
The number of frames per second.
final
hashCode int
The hash code for this object.
no setterinherited
inMicroseconds int
The duration of one frame, in microseconds.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited