cardsLength method Null safety

int cardsLength()

Implementation

int cardsLength() {
  return _state!.cardStates.length;
}