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