int? byInt(String key, {int? defaultValue}) { if (this[key] == null) return defaultValue; return double.tryParse(byString(key)!)?.toInt() ?? defaultValue; }