transform method

String transform(
  1. String value
)

Implementation

String transform(String value) {
  if (value == null) return value;
  if (value is! String) {
    throw InvalidPipeArgumentException(UpperCasePipe, value);
  }
  return value.toUpperCase();
}