Length.fromCentimetres constructor

const Length.fromCentimetres(
  1. double centimetres
)

Returns a new Length object from the number of centimetres.

Implementation

const Length.fromCentimetres(double centimetres)
    : super(centimetres * _nanometresPerCentimetre);