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