Framerate class

Encapsulates framerate.

Implemented types
Annotations
  • @freezed

Constructors

Framerate(num framesPerSecond)
Initialize an instance of Framerate
const
factory
Framerate.fromJson(Map<String, dynamic> json)
factory

Properties

copyWith → $FramerateCopyWith<Framerate>
no setterinherited
framesPerSecond num
Framerate as frames per second
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

compareTo(Framerate other) int
Compares this object to another object.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
inherited
toString() String
A string representation of this object.
override

Operators

operator <(Framerate other) bool
operator ==(Object other) bool
The equality operator.
inherited
operator >(Framerate other) bool