tryToUpperCase method

String? tryToUpperCase()

Converts the string to uppercase if it's not null.

Implementation

String? tryToUpperCase() => this?.toUpperCase();