toJson method

Object toJson()

Implementation

Object toJson () {
  return {
    'channel_id': channel?.id,
    'duration_seconds': duration,
  };
}