Image constructor

Image({
  1. String? sourceName,
  2. Format? format,
  3. List<int>? image,
})

Implementation

factory Image({
  $core.String? sourceName,
  Format? format,
  $core.List<$core.int>? image,
}) {
  final $result = create();
  if (sourceName != null) {
    $result.sourceName = sourceName;
  }
  if (format != null) {
    $result.format = format;
  }
  if (image != null) {
    $result.image = image;
  }
  return $result;
}