toUpperFirst method

String toUpperFirst()

Implementation

String toUpperFirst() => '${this[0].toUpperCase()}${substring(1)}';