toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final channelTag = this.channelTag;
  return {
    if (channelTag != null) 'channelTag': channelTag.toValue(),
  };
}