castElement method

int castElement(
  1. num n
)

Implementation

int castElement(num n) {
  return n.toInt();
}