toJson method

Object toJson()

Implementation

Object toJson () {
  return {
    'channel_id': channelId,
    'duration_seconds': duration,
  };
}