AvifInfo constructor

AvifInfo({
  1. int? width,
  2. int? height,
  3. int? imageCount,
  4. double? duration,
})

Implementation

factory AvifInfo({
  $core.int? width,
  $core.int? height,
  $core.int? imageCount,
  $core.double? duration,
}) {
  final $result = create();
  if (width != null) {
    $result.width = width;
  }
  if (height != null) {
    $result.height = height;
  }
  if (imageCount != null) {
    $result.imageCount = imageCount;
  }
  if (duration != null) {
    $result.duration = duration;
  }
  return $result;
}