typeToString method

String typeToString()

Returns the string representation of the enum e.g. HealthDataType.BLOOD_GLUCOSE -> 'BLOOD_GLUCOSE'

Implementation

String typeToString() => _enumToString(this);