value method

double value(
  1. DismissDirection direction
)

Get values of the card from a designated direction

Implementation

double value(DismissDirection direction) => _state != null ? _state!.value(direction) : 0;