InferenceObject constructor

InferenceObject({
  1. Value? object,
  2. String? model,
  3. Iterable<MapEntry<String, Value>>? options,
})

Implementation

factory InferenceObject({
  $11.Value? object,
  $core.String? model,
  $core.Iterable<$core.MapEntry<$core.String, $11.Value>>? options,
}) {
  final $result = create();
  if (object != null) {
    $result.object = object;
  }
  if (model != null) {
    $result.model = model;
  }
  if (options != null) {
    $result.options.addEntries(options);
  }
  return $result;
}