From 380eb85119fcf49cb9c912c8c3b47b988198d3b0 Mon Sep 17 00:00:00 2001 From: devmil Date: Mon, 17 Jun 2024 22:18:48 +0200 Subject: [PATCH] adapt generated code to latest dependencies --- lib/src/storage/v3/platform_constraints_storage_v3.g.dart | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/src/storage/v3/platform_constraints_storage_v3.g.dart b/lib/src/storage/v3/platform_constraints_storage_v3.g.dart index d257525..a99513f 100644 --- a/lib/src/storage/v3/platform_constraints_storage_v3.g.dart +++ b/lib/src/storage/v3/platform_constraints_storage_v3.g.dart @@ -24,9 +24,9 @@ _$AndroidPlatformConstraintsStorageV3Impl _$$AndroidPlatformConstraintsStorageV3ImplFromJson( Map json) => _$AndroidPlatformConstraintsStorageV3Impl( - minSdkVersion: json['minSdkVersion'] as int?, - compileSdkVersion: json['compileSdkVersion'] as int?, - targetSdkVersion: json['targetSdkVersion'] as int?, + minSdkVersion: (json['minSdkVersion'] as num?)?.toInt(), + compileSdkVersion: (json['compileSdkVersion'] as num?)?.toInt(), + targetSdkVersion: (json['targetSdkVersion'] as num?)?.toInt(), ); Map _$$AndroidPlatformConstraintsStorageV3ImplToJson(