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