typeToString method

String typeToString()

Returns the string representation of the enum e.g. HealthDataUnit.LITER -> 'LITER'

Implementation

String typeToString() => _enumToString(this);