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