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