toUpperCase function

String toUpperCase(
  1. String s
)

Convert a string to upper case.

print(toUpperCase('hello')); // Outputs: 'HELLO'

Implementation

String toUpperCase(String s) => s.toUpperCase();