toJson method

String toJson()

Implementation

String toJson() {
  return ChannelMapper.ensureInitialized()
      .encodeJson<Channel>(this as Channel);
}