diff --git a/packages/test_track/lib/src/models/variant.g.dart b/packages/test_track/lib/src/models/variant.g.dart index 2271117..519e584 100644 --- a/packages/test_track/lib/src/models/variant.g.dart +++ b/packages/test_track/lib/src/models/variant.g.dart @@ -15,7 +15,7 @@ _$VariantImpl _$$VariantImplFromJson(Map json) => ($checkedConvert) { final val = _$VariantImpl( name: $checkedConvert('name', (v) => v as String), - weight: $checkedConvert('weight', (v) => v as int), + weight: $checkedConvert('weight', (v) => (v as num).toInt()), ); return val; },