Skip to content

VelocityOps ​

extensionVelocityOpsonnum

Extension methods for constructing Velocity values from num.

Properties ​

feetPerSecond extension no setter ​

VelocitygetfeetPerSecond

Creates a Velocity of this value in feet per second.

Available on num, provided by the VelocityOps extension

Implementation
dart
Velocity get feetPerSecond => Velocity.feetPerSecond(this);

kilometersPerHour extension no setter ​

VelocitygetkilometersPerHour

Creates a Velocity of this value in kilometers per hour.

Available on num, provided by the VelocityOps extension

Implementation
dart
Velocity get kilometersPerHour => Velocity.kilometersPerHour(this);

kilometersPerSecond extension no setter ​

VelocitygetkilometersPerSecond

Creates a Velocity of this value in kilometers per second.

Available on num, provided by the VelocityOps extension

Implementation
dart
Velocity get kilometersPerSecond => Velocity.kilometersPerSecond(this);

knots extension no setter ​

Velocitygetknots

Creates a Velocity of this value in knots.

Available on num, provided by the VelocityOps extension

Implementation
dart
Velocity get knots => Velocity.knots(this);

metersPerSecond extension no setter ​

VelocitygetmetersPerSecond

Creates a Velocity of this value in meters per second.

Available on num, provided by the VelocityOps extension

Implementation
dart
Velocity get metersPerSecond => Velocity.metersPerSecond(this);

millimetersPerSecond extension no setter ​

VelocitygetmillimetersPerSecond

Creates a Velocity of this value in millimeters per second.

Available on num, provided by the VelocityOps extension

Implementation
dart
Velocity get millimetersPerSecond => Velocity.millimetersPerSecond(this);

usMilesPerHour extension no setter ​

VelocitygetusMilesPerHour

Creates a Velocity of this value in US miles per hour.

Available on num, provided by the VelocityOps extension

Implementation
dart
Velocity get usMilesPerHour => Velocity.usMilesPerHour(this);