Capture constructor

const Capture({
  1. Photo? photo,
  2. Recording? video,
})

Creates a new instance of Capture.

Implementation

const Capture({
  this.photo,
  this.video,
});