copyToClipboard static method
Implementation
static Future<bool> copyToClipboard(String text) async {
try {
final bool result = await _channel.invokeMethod('copyToClipboard', {
'text': text,
});
return result;
} on PlatformException {
return false;
}
}