Hint.withAttachment constructor

Hint.withAttachment(
  1. SentryAttachment attachment
)

Implementation

factory Hint.withAttachment(SentryAttachment attachment) {
  final hint = Hint();
  hint.attachments.add(attachment);
  return hint;
}