W3cubDocs

/Dart 2

tryParse method

BigInt tryParse (String source, { int radix })

Parses source as a, possibly signed, integer literal and returns its value.

As parse except that this method returns null if the input is not valid

Implementation

external static BigInt tryParse(String source, {int radix});

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/2.0.0/dart-core/BigInt/tryParse.html