Browse Source

VidDataHost_stub extends base

melon.yin 2 years ago
parent
commit
32b0031ea0
1 changed files with 3 additions and 4 deletions
  1. 3 4
      lib/data_host/stub/data_host.dart

+ 3 - 4
lib/data_host/stub/data_host.dart

@@ -4,11 +4,10 @@ import 'package:fis_vid/processors/base.dart';
 import 'package:vid/us/vid_us_image_data.dart';
 import 'package:vid/us/vid_us_probe.dart';
 
-class VidDataHost implements VidDataHostInterface {
-  VidDataHost(this.url);
+import '../base/data_host.dart';
 
-  @override
-  final String url;
+class VidDataHost extends VidDataHostBase {
+  VidDataHost(String url) : super(url);
 
   @override
   Future<VidUsImage> getFrame<TProcessor extends VidFrameProcessor>(int index,