clipboardMap top-level property

Map<String, Future<void> Function(Object data)> clipboardMap
final

Implementation

final clipboardMap = {
  "setData": (Object data) {
    return Clipboard.setData(data as ClipboardData);
  },
  "getData": (Object format) {
    return Clipboard.getData(format as String);
  }
};