toJson method

dynamic toJson()

Implementation

toJson() =>
    {"channelType": channelType.index, "audioFormat": audioFormat.index};