Image constructor

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

Implementation

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