소스 검색

add getValue at IVidValue

melon.yin 2 년 전
부모
커밋
d3a836801f
2개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      lib/vid_value.dart
  2. 1 0
      lib/vid_value_element.dart

+ 2 - 0
lib/vid_value.dart

@@ -1,5 +1,7 @@
 abstract class IVidValue {
   ValueType get type;
+
+  dynamic getValue();
 }
 
 enum ValueType {

+ 1 - 0
lib/vid_value_element.dart

@@ -15,6 +15,7 @@ abstract class VidValueElement<T> implements IVidValue {
 
   VidValueElement(T value);
 
+  @override
   dynamic getValue() {
     return value;
   }