channelName property

String get channelName

Returns the channel name corresponding to the accuracy level.

This is used to convert the enum values into their string representation for easier communication with native platforms or logging.

Implementation

String get channelName => {
      AccuracyLevel.low: 'Low',
      AccuracyLevel.medium: 'Medium',
      AccuracyLevel.high: 'High',
    }[this]!;