paste static method

Future<String?> paste()

Implementation

static Future<String?> paste() async {
  return (await Clipboard.getData('text/plain'))?.text;
}