AngularVelocity class

Represents a quantity of angular velocity (or rotational speed).

Angular velocity is a derived quantity representing the rate of change of an angle over time. The SI unit is radians per second (rad/s).

Inheritance
Available extensions
Annotations
  • @immutable

Constructors

AngularVelocity(double value, AngularVelocityUnit unit)
Creates a new AngularVelocity with a given value and unit.
const

Properties

asDegreesPerSecond AngularVelocity

Available on AngularVelocity, provided by the AngularVelocityValueGetters extension

Returns an AngularVelocity object in Degrees per second (°/s).
no setter
asFrequency Frequency

Available on AngularVelocity, provided by the AngularVelocityFrequencyInterop extension

Converts this AngularVelocity to its equivalent Frequency representation.
no setter
asRadiansPerSecond AngularVelocity

Available on AngularVelocity, provided by the AngularVelocityValueGetters extension

Returns an AngularVelocity object in Radians per second (rad/s).
no setter
asRpm AngularVelocity

Available on AngularVelocity, provided by the AngularVelocityValueGetters extension

Returns an AngularVelocity object in Revolutions per minute (rpm).
no setter
asRps AngularVelocity

Available on AngularVelocity, provided by the AngularVelocityValueGetters extension

Returns an AngularVelocity object in Revolutions per second (rps).
no setter
hashCode int
Returns a hash code for this Quantity instance.
no setterinherited
inDegreesPerSecond double

Available on AngularVelocity, provided by the AngularVelocityValueGetters extension

Returns the value in Degrees per second (°/s).
no setter
inRadiansPerSecond double

Available on AngularVelocity, provided by the AngularVelocityValueGetters extension

Returns the value in Radians per second (rad/s).
no setter
inRpm double

Available on AngularVelocity, provided by the AngularVelocityValueGetters extension

Returns the value in Revolutions per minute (rpm).
no setter
inRps double

Available on AngularVelocity, provided by the AngularVelocityValueGetters extension

Returns the value in Revolutions per second (rps).
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
unit AngularVelocityUnit
Returns the unit of measurement associated with this quantity's original value.
no setterinherited
value double
Returns the numerical value of this quantity in its original unit.
no setterinherited

Methods

compareTo(Quantity<AngularVelocityUnit> other) int
Compares this quantity to another Quantity of the same type (T).
override
convertTo(AngularVelocityUnit targetUnit) AngularVelocity
Creates a new AngularVelocity instance with the value converted to the targetUnit.
override
getValue(AngularVelocityUnit targetUnit) double
Converts this angular velocity's value to the specified targetUnit.
override
isEquivalentTo(Quantity<AngularVelocityUnit> other) bool
Checks if this quantity has the same physical magnitude as another.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString({AngularVelocityUnit? targetUnit, int? fractionDigits, bool showUnitSymbol = true, String unitSymbolSeparator = '\u00A0', String? locale, NumberFormat? numberFormat}) String
Returns a string representation of this quantity, with options for formatting and unit conversion.
inherited
totalAngleOver(Time time) Angle
Calculates the total Angle of rotation over a given Time duration.

Operators

operator *(double scalar) AngularVelocity
Multiplies this angular velocity by a scalar.
operator +(AngularVelocity other) AngularVelocity
Adds this angular velocity to another.
operator -(AngularVelocity other) AngularVelocity
Subtracts another angular velocity from this one.
operator /(double scalar) AngularVelocity
Divides this angular velocity by a scalar.
operator <(Quantity<AngularVelocityUnit> other) bool
Checks if this quantity's magnitude is less than another's.
inherited
operator <=(Quantity<AngularVelocityUnit> other) bool
Checks if this quantity's magnitude is less than or equal to another's.
inherited
operator ==(Object other) bool
Determines whether this Quantity is equal to another Object.
inherited
operator >(Quantity<AngularVelocityUnit> other) bool
Checks if this quantity's magnitude is greater than another's.
inherited
operator >=(Quantity<AngularVelocityUnit> other) bool
Checks if this quantity's magnitude is greater than or equal to another's.
inherited