Skip to content

Commit 2f8d20a

Browse files
committed
Fix VariableType.fromObjectType constructor.
1 parent 7144ed7 commit 2f8d20a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/src/api/models/variables_model.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ enum VariableType {
5050
ColorRGB() => VariableType.color,
5151
List() => VariableType.list,
5252
Map() => VariableType.map,
53+
String() => VariableType.text,
5354
_ => throw UnsupportedError(
5455
'object type ${obj.runtimeType} is not supported. Cannot determine variable type'),
5556
};

0 commit comments

Comments
 (0)