isCalm property

bool get isCalm

Get true if wind is calm (direction 000, speed 0 kt).

Implementation

bool get isCalm =>
    (_direction.inDegrees == 0 || _direction.inDegrees == null) &&
    (_speed.inKnot == 0);