From 47f2108d69fc0376645d09baef2e45f45e543c0d Mon Sep 17 00:00:00 2001 From: The one with the braid Date: Mon, 6 Jan 2025 14:45:17 +0100 Subject: [PATCH] fix: missing setProperty stub Signed-off-by: The one with the braid --- media_kit/lib/src/player/native/player/stub.dart | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/media_kit/lib/src/player/native/player/stub.dart b/media_kit/lib/src/player/native/player/stub.dart index 580bb40aa..55c87e5d1 100644 --- a/media_kit/lib/src/player/native/player/stub.dart +++ b/media_kit/lib/src/player/native/player/stub.dart @@ -15,4 +15,10 @@ class NativePlayer extends PlatformPlayer { /// Whether the [NativePlayer] is initialized for unit-testing. @visibleForTesting static bool test = false; + + Future setProperty( + String property, + String value, { + bool waitForInitialization = true, + }) async {} }