From bb2dc8d10b7c71c2ee476349cdbe5d190688205f Mon Sep 17 00:00:00 2001 From: Kamo Spertsyan Date: Mon, 25 Nov 2024 13:47:37 +0300 Subject: [PATCH] Minimal dart version upgraded to 2.14 --- example/pubspec.yaml | 2 +- lib/src/dto/sku_details/sku_details.dart | 2 +- pubspec.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/example/pubspec.yaml b/example/pubspec.yaml index a2deae7..51f7b2f 100644 --- a/example/pubspec.yaml +++ b/example/pubspec.yaml @@ -6,7 +6,7 @@ publish_to: 'none' version: 1.0.0 environment: - sdk: ">=2.12.0 <3.0.0" + sdk: ">=2.14.0 <3.0.0" flutter: ">=1.12.13+hotfix.6" dependencies: diff --git a/lib/src/dto/sku_details/sku_details.dart b/lib/src/dto/sku_details/sku_details.dart index c3ec628..08edf1c 100644 --- a/lib/src/dto/sku_details/sku_details.dart +++ b/lib/src/dto/sku_details/sku_details.dart @@ -108,7 +108,7 @@ class SkuDetailsWrapper { Map toJson() => _$SkuDetailsWrapperToJson(this); @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { if (other.runtimeType != runtimeType) { return false; } diff --git a/pubspec.yaml b/pubspec.yaml index 0090759..fedf767 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -5,7 +5,7 @@ homepage: 'https://qonversion.io' repository: 'https://github.com/qonversion/flutter-sdk' environment: - sdk: '>=2.12.0 <3.0.0' + sdk: '>=2.14.0 <3.0.0' flutter: ">=1.10.0" dependencies: