ScreenshotObserverPlugin constructor Null safety

ScreenshotObserverPlugin(
  1. {bool? requestPermissions}
)

Implementation

ScreenshotObserverPlugin({this.requestPermissions}) {
  requestPermissions ??= true;
  initialize();
}