toConstantCase method

String toConstantCase()

Converts to an upper case, underscore separated string

example:

'hello world' -> 'HELLO_WORLD'

Implementation

String toConstantCase() => _fixCase(ChangeCaseType.constant);