int? parseInt(String? intString) { if (intString == null) return null; return int.tryParse(intString); }