fromReadableInt method
Parses a readable number string with K, M, B, T suffixes to an int. Returns null if the string cannot be parsed.
Example:
String text = '1.5K';
int? value = text.fromReadableInt(); // 1500
Implementation
int? fromReadableInt() {
final doubleValue = fromReadable();
return doubleValue?.round();
}