toSnakeCase method

String toSnakeCase()

Converts to snake_case.

Implementation

String toSnakeCase() => _wordParts(this).join('_');