Stores the given clipboard data on the clipboard.
Source
static Future<Null> setData(ClipboardData data) async { await PlatformMessages.invokeMethod( _kChannelName, 'Clipboard.setData', <Map<String, dynamic>>[<String, dynamic>{ 'text': data.text, }], ); }