clear method

Future<SecurityResult<bool>> clear({
  1. bool onlyIfOwned = false,
})

Clears the clipboard. With onlyIfOwned it is only cleared while it still holds the value written by copy.

Implementation

Future<SecurityResult<bool>> clear({bool onlyIfOwned = false}) =>
    _useCase.clear(onlyIfOwned: onlyIfOwned);