@override Future<void> copy(String text, {Duration? autoClearAfter}) async { await _methodChannel.invokeMethod('copy', { 'text': text, 'autoClearAfter': autoClearAfter?.inMilliseconds, }); }