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