Overlay constructor

Overlay({
  1. Overlay_Image? image,
  2. Iterable<Overlay_Animation>? animations,
})

Implementation

factory Overlay({
  Overlay_Image? image,
  $core.Iterable<Overlay_Animation>? animations,
}) {
  final $result = create();
  if (image != null) {
    $result.image = image;
  }
  if (animations != null) {
    $result.animations.addAll(animations);
  }
  return $result;
}