uppercase function

String uppercase(
  1. String? str
)

Transform str such that all characters are uppercase.

Implementation

String uppercase(String? str) =>
    identical(str, null) ? 'uppercase' : str.toUpperCase();