Gets an Integer attribute value by key. Returns null if the key doesn't exist or if the value is not an Integer.
int? getInt(String name) => _getTyped<int>(name);