fromValue static method

ChannelType fromValue(
  1. int value
)

Implementation

static ChannelType fromValue(int value) =>
    ChannelType.values.firstWhere((e) => e.value == value);