Skip to content

Commit

Permalink
Adds cast to String? when building allExpirationDates (RevenueCat#177)
Browse files Browse the repository at this point in the history
  • Loading branch information
vegaro authored Mar 26, 2021
1 parent ea9a5b2 commit c1cc359
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ jobs:
lint:
description: "Run static analysis for Flutter"
docker:
- image: cirrusci/flutter:beta
- image: cirrusci/flutter
steps:
- checkout
- build-flutter-project
Expand All @@ -84,7 +84,7 @@ jobs:
test:
description: "Run tests for Flutter"
docker:
- image: cirrusci/flutter:beta
- image: cirrusci/flutter
steps:
- checkout
- build-flutter-project
Expand All @@ -95,7 +95,7 @@ jobs:
android-integration-test-build:
description: "Build Android Flutter integration tests"
docker:
- image: cirrusci/flutter:beta
- image: cirrusci/flutter
steps:
- checkout
- replace-api-key
Expand Down
2 changes: 1 addition & 1 deletion lib/purchaser_info_wrapper.dart
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ class PurchaserInfo {
latestExpirationDate = map["latestExpirationDate"],
allExpirationDates =
(map["allExpirationDates"] as Map<dynamic, dynamic>)
.map((key, value) => MapEntry(key as String, value as String)),
.map((key, value) => MapEntry(key as String, value as String?)),
allPurchasedProductIdentifiers =
(map["allPurchasedProductIdentifiers"] as List<dynamic>)
.map((item) => item as String)
Expand Down

0 comments on commit c1cc359

Please sign in to comment.