Length.fromYards constructor
- double yards
Returns a new Length
object from the number of yards.
Implementation
const Length.fromYards(double yards) : super(yards * _nanometresPerYard);
Returns a new Length
object from the number of yards.
const Length.fromYards(double yards) : super(yards * _nanometresPerYard);