tryParse static method
Parses a string into a Decimal128. Returns null
if the string is not a valid Decimal128.
Implementation
static Decimal128? tryParse(String source) {
if (!_validInput.hasMatch(source)) return null;
return using((arena) {
final result = _realmLib.realm_dart_decimal128_from_string(source.toCharPtr(arena));
return Decimal128._(result);
});
}