tryParse method

BigInt? tryParse (
  1. String source,
  2. {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.dart.dev/stable/2.13.0/dart-core/BigInt/tryParse.html