Bitrate class

Encapsulates bitrate.

Implemented types
Annotations
  • @freezed

Constructors

Bitrate(int bitsPerSecond)
Initializes an instance of Bitrate
const
factory
Bitrate.fromJson(Map<String, dynamic> json)
factory

Properties

bitsPerSecond int
Bits per second.
no setterinherited
copyWith → $BitrateCopyWith<Bitrate>
no setterinherited
gigaBitsPerSecond double
Gigabits per second.
no setter
hashCode int
The hash code for this object.
no setterinherited
kiloBitsPerSecond double
Kilobits per second.
no setter
megaBitsPerSecond double
Megabits per second.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

compareTo(Bitrate 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 ==(Object other) bool
The equality operator.
inherited

Constants

unknown → const Bitrate