typeToString method

String typeToString()

Returns the string representation of the enum e.g. HealthWorkoutActivityType.CYCLING -> 'CYCLING'

Implementation

String typeToString() => _enumToString(this);