Whether a field is valid in the schema
bool isValidField(String fieldName) { if (dataSchema == null) return true; // No validation without a schema return dataSchema!.getField(fieldName) != null; }