gravityDirection property

WaveGravityDirection gravityDirection
final

The direction that should be considered the bottom of the wave.

Certain values for direction are not compatible with certain values here. For example, if direction is WaveDirection.left2Right, this should be WaveGravityDirection.down or WaveGravityDirection.up.

Implementation

final WaveGravityDirection gravityDirection;