copyToClipboard static method
copyToClipboard.
Implementation
static Future<void> copyToClipboard(String text, [String? message]) async {
await Clipboard.setData(ClipboardData(text: text));
if (kDebugMode) {
debugPrint('Copied to clipboard');
}
}