snakeCase property
String
get
snakeCase
Implementation
String get snakeCase => replaceAllMapped(RegExp('([A-Z])'),
(Match match) => '_${match.group(0)!.toLowerCase()}')
.replaceAll(RegExp('^_'), '');