CopyToClipboardExtensionEvent constructor

CopyToClipboardExtensionEvent({
  1. required String content,
  2. String successMessage = defaultSuccessMessage,
})

Implementation

CopyToClipboardExtensionEvent({
  required String content,
  String successMessage = defaultSuccessMessage,
}) : super(
        DevToolsExtensionEventType.copyToClipboard,
        data: {
          _contentKey: content,
          _successMessageKey: successMessage,
        },
      );