# valueOf static method

Character valueOf(

1. String char

)

Returns a Character instance representing the specified character.

`char` the character value

A wrapper class for single characters that provides Java-like functionality.

This class wraps a single character (represented as a String in Dart) and provides utility methods similar to Java's Character class.

Example usage:

    Character a = Character('A');
    Character b = Character.valueOf('z');

    print(a.isUpperCase()); // true
    print(a.toLowerCase()); // Character('a')
    print(Character.isDigit('5')); // true

## Implementation

    static Character valueOf(String char) {
      return Character(char);
    }