PasteboardUseCase class

Copies sensitive values to a local-only, auto-expiring clipboard.

Constructors

PasteboardUseCase(PasteboardRepository _repository)
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

clear({bool onlyIfOwned = false}) → Future<SecurityResult<bool>>
copy({required String value, Duration expiresAfter = defaultExpiry}) → Future<SecurityResult<void>>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Constants

defaultExpiry → const Duration
Expiry applied when the caller does not pass one.