toTitleCase property

String get toTitleCase

Implementation

String get toTitleCase =>
    this == null ? '' : '${this![0].toUpperCase()}${this!.substring(1)}';