screamingSnake property

String get screamingSnake

Implementation

String get screamingSnake => replaceAllMapped(
      RegExp(r'([a-z0-9])([A-Z])'),
      (m) => '${m[1]}_${m[2]}',
    ).toUpperCase();