@@ -30,6 +30,7 @@ import '../components/switch/client.dart';
30
30
import '../components/switch/switch.dart' ;
31
31
import '../resource/base.dart' ;
32
32
import '../services/discovery.dart' ;
33
+ import '../services/generic.dart' ;
33
34
import '../services/vision.dart' ;
34
35
35
36
/// {@category Viam SDK}
@@ -75,8 +76,9 @@ class Registry {
75
76
registerSubtype (ResourceRegistration (Sensor .subtype, (name, channel) => SensorClient (name, channel)));
76
77
registerSubtype (ResourceRegistration (Servo .subtype, (name, channel) => ServoClient (name, channel)));
77
78
registerSubtype (ResourceRegistration (Switch .subtype, (name, channel) => SwitchClient (name, channel)));
78
- registerSubtype (ResourceRegistration (VisionClient .subtype, (name, channel) => VisionClient (name, channel)));
79
79
registerSubtype (ResourceRegistration (DiscoveryClient .subtype, (name, channel) => DiscoveryClient (name, channel)));
80
+ registerSubtype (ResourceRegistration (GenericServiceClient .subtype, (name, channel) => GenericServiceClient (name, channel)));
81
+ registerSubtype (ResourceRegistration (VisionClient .subtype, (name, channel) => VisionClient (name, channel)));
80
82
}
81
83
82
84
/// The [Subtype] available in the SDK
0 commit comments