toIntOrNull method
Converts this nullable num to an int, or returns null if null. Audited: 2026-06-12 11:26 EDT
Implementation
@useResult
int? toIntOrNull() => this?.toInt();
Converts this nullable num to an int, or returns null if null. Audited: 2026-06-12 11:26 EDT
@useResult
int? toIntOrNull() => this?.toInt();