main function

void main()

Implementation

void main() {
  int number = 12345;
  int reversedNumber = rev(number);
  print('Original number: $number');
  print('Reversed number: $reversedNumber');
}