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