Let's you convert input to an int type if possible, or returns null if the conversion cannot be performed.
input
null
@pragma('vm:prefer-inline') int? letIntOrNull(dynamic input) => letNumOrNull(input)?.toInt();