setData static method

Future<void> setData(
  1. String text
)

Stores text in the clipboard.

Implementation

static Future<void> setData(String text) async {
  _data = text;
}