# appendChar method

StringBuilder appendChar(

1. String char

)

Appends a character to this StringBuilder.

`char` the character to append Returns this StringBuilder for method chaining

## Implementation

    StringBuilder appendChar(String char) {
      if (char.length != 1) {
        throw InvalidArgumentException('Must be a single character');
      }
      _buffer.write(char);
      return this;
    }