Skip to content

Commit b548b60

Browse files
committed
Better generic types on ValueModel.
1 parent d847888 commit b548b60

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/src/api/models/action/set_value_action.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ enum ValueType {
102102
}
103103

104104
/// Represents a value to set in a node.
105-
abstract class ValueModel<T> with SerializableMixin {
105+
abstract class ValueModel<T extends Object?> with SerializableMixin {
106106
/// The name of the property to set the value of.
107107
final String name;
108108

0 commit comments

Comments
 (0)