core.Map<core.String, core.dynamic> toJson() => { if (pubsubTopic != null) 'pubsubTopic': pubsubTopic!, };