setSimulatedClipboardContent method
Makes the given content
available from the Clipboard
as if the user copied the content
to the platform clipboard.
Implementation
Future<void> setSimulatedClipboardContent(String content) async {
_simulatedClipboard ??= SimulatedClipboard(this);
await Clipboard.setData(ClipboardData(text: content));
}