fieldNormalizerUpperCase function

Object? fieldNormalizerUpperCase(
  1. String field,
  2. Object? value
)

Implementation

Object? fieldNormalizerUpperCase(String field, Object? value) {
  if (value == null) return null;
  if (value is String) {
    return value.toUpperCase();
  }
  return value;
}