isCapital property

bool get isCapital

Checks if the string is in capital case.

Implementation

bool get isCapital => this == toCapitalCase;