snakeCaseKeys method

Map<String, V> snakeCaseKeys()

Returns a new map with all string keys converted to snake_case.

Implementation

Map<String, V> snakeCaseKeys() =>
    {for (final e in entries) e.key.toString().toSnakeCase(): e.value};