From eca9d6341ae26b9d5b9396f2f0371d1c81ab457b Mon Sep 17 00:00:00 2001 From: GJJ2019 Date: Mon, 10 Jul 2023 07:51:38 +0530 Subject: [PATCH] bump to 0.1.5 --- CHANGELOG.md | 4 ++++ README.md | 2 +- example/pubspec.lock | 2 +- lib/src/model/transaction_detail_model.dart | 10 +++++----- pubspec.yaml | 2 +- 5 files changed, 12 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ea6477e..b4f912f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## 0.1.5 + +- fixing #23 +- changing transaction_details_model ## 0.1.4 - updating packages to latest diff --git a/README.md b/README.md index b532d27..b3b0573 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,7 @@ Add the plugin package to the `pubspec.yaml` file in your project: ```yaml dependencies: - easy_upi_payment: ^0.1.0 + easy_upi_payment: ^0.1.5 ``` Install the new dependency: diff --git a/example/pubspec.lock b/example/pubspec.lock index 089db49..41e0974 100644 --- a/example/pubspec.lock +++ b/example/pubspec.lock @@ -63,7 +63,7 @@ packages: path: ".." relative: true source: path - version: "0.1.4" + version: "0.1.5" fake_async: dependency: transitive description: diff --git a/lib/src/model/transaction_detail_model.dart b/lib/src/model/transaction_detail_model.dart index 8e2adff..5e71d34 100644 --- a/lib/src/model/transaction_detail_model.dart +++ b/lib/src/model/transaction_detail_model.dart @@ -10,11 +10,11 @@ class TransactionDetailModel { factory TransactionDetailModel.fromMap(Map data) { return TransactionDetailModel( - transactionId: data['transactionId'] as String, - responseCode: data['responseCode'] as String, - approvalRefNo: data['approvalRefNo'] as String, - transactionRefId: data['transactionRefId'] as String, - amount: data['amount'] as String, + transactionId: data['transactionId'] as String?, + responseCode: data['responseCode'] as String?, + approvalRefNo: data['approvalRefNo'] as String?, + transactionRefId: data['transactionRefId'] as String?, + amount: data['amount'] as String?, ); } diff --git a/pubspec.yaml b/pubspec.yaml index 9d8b537..53dc30c 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: easy_upi_payment description: A new flutter plugin to make upi payment with ease currently only supported by Android (only for India). -version: 0.1.4 +version: 0.1.5 repository: https://github.com/GJJ2019/easy_upi_payment issue_tracker: https://github.com/GJJ2019/easy_upi_payment/issues homepage: https://github.com/GJJ2019/easy_upi_payment