tryToNumFormatted method
Attempts toNumFormatted, returning null on failure.
Implementation
num? tryToNumFormatted(String format, String? locale) {
try {
return toNumFormatted(format, locale);
} catch (_) {
return null;
}
}
Attempts toNumFormatted, returning null on failure.
num? tryToNumFormatted(String format, String? locale) {
try {
return toNumFormatted(format, locale);
} catch (_) {
return null;
}
}