From 71bf6e0ce0b7d249db0542db500eaa0c8ae9837c Mon Sep 17 00:00:00 2001 From: Jan Romann Date: Sun, 31 Dec 2023 15:40:35 +0100 Subject: [PATCH] fixup! feat: improve DataSchemaValue handling --- lib/src/core/wot.dart | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/src/core/wot.dart b/lib/src/core/wot.dart index 4ffa6da1..9e9cfe08 100644 --- a/lib/src/core/wot.dart +++ b/lib/src/core/wot.dart @@ -8,6 +8,7 @@ import 'dart:async'; import '../../scripting_api.dart' as scripting_api; import '../definitions/thing_description.dart'; +import '../scripting_api/discovery/discovery_method.dart'; import 'consumed_thing.dart'; import 'exposed_thing.dart'; import 'servient.dart'; @@ -88,7 +89,7 @@ class WoT implements scripting_api.WoT { ThingDiscovery discover( Uri url, { scripting_api.ThingFilter? thingFilter, - scripting_api.DiscoveryMethod method = scripting_api.DiscoveryMethod.direct, + DiscoveryMethod method = scripting_api.DiscoveryMethod.direct, }) { return ThingDiscovery(url, thingFilter, _servient, method: method); }