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