Hint.withScreenshot constructor

Hint.withScreenshot(
  1. SentryAttachment screenshot
)

Implementation

factory Hint.withScreenshot(SentryAttachment screenshot) {
  final hint = Hint();
  hint.screenshot = screenshot;
  return hint;
}