Skip to content

Commit 6f458db

Browse files
committed
Conditions #21
- Create PropertyValueGetterMixin to get a property value from conditions, variables and node values. - Refactor visible, currentVariantId and fill properties to use getPropertyValue function.
1 parent 0bf6dfe commit 6f458db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/src/api/models/variables_model.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ class VariableData
141141
// TODO: implement type conversion.
142142
throw UnimplementedError('Not Implemented');
143143
} else {
144-
throw Exception('Unsupported type: $T');
144+
return value as T?;
145145
}
146146
}
147147
}

0 commit comments

Comments
 (0)