capitalize property

String get capitalize

Capitalizes the first letter.

Implementation

String get capitalize =>
    isBlank ? this : substring(0, 1).toUpperCase() + substring(1);