TakeSourceScreenshot constructor Null safety

TakeSourceScreenshot(
  1. {required String sourceName,
  2. String? embedPictureFormat,
  3. String? saveToFilePath,
  4. String? fileFormat,
  5. int? compressionQuality,
  6. int? width,
  7. int? height}
)

Implementation

TakeSourceScreenshot(
    {required this.sourceName,
    this.embedPictureFormat,
    this.saveToFilePath,
    this.fileFormat,
    this.compressionQuality,
    this.width,
    this.height});