LCOV - code coverage report
Current view: top level - lib/util - folly_string_extension.dart (source / functions) Hit Total Coverage
Test: Folly Fields Lines: 4 4 100.0 %
Date: 2023-05-18 02:05:34 Functions: 0 0 -

          Line data    Source code
       1             : ///
       2             : ///
       3             : ///
       4             : extension FollyStringExtension on String {
       5             :   ///
       6             :   ///
       7             :   ///
       8           2 :   String get capitalize =>
       9          10 :       '${this[0].toUpperCase()}${substring(1).toLowerCase()}';
      10             : 
      11             :   ///
      12             :   ///
      13             :   ///
      14           1 :   String get capitalizeWords =>
      15           6 :       split(' ').map((String e) => e.capitalize).toList().join(' ');
      16             : }

Generated by: LCOV version 1.14