toInt property

int get toInt

Convert JS BigNumber to Dart int.

Implementation

int get toInt => int.parse(this.toString());