ProtoImage constructor

ProtoImage({
  1. int? image,
  2. int? slot,
  3. List<int>? hash,
  4. List<int>? data,
})

Implementation

factory ProtoImage({
  $core.int? image,
  $core.int? slot,
  $core.List<$core.int>? hash,
  $core.List<$core.int>? data,
}) {
  final $result = create();
  if (image != null) {
    $result.image = image;
  }
  if (slot != null) {
    $result.slot = slot;
  }
  if (hash != null) {
    $result.hash = hash;
  }
  if (data != null) {
    $result.data = data;
  }
  return $result;
}