fromString static method
- String str
override
Implementation
static AdifInteger fromString(String str) {
final intValue = int.tryParse(str);
if (intValue == null) {
throw ArgumentError('Invalid integer string: $str');
}
return AdifInteger(intValue);
}