File tree Expand file tree Collapse file tree 3 files changed +8
-4
lines changed Expand file tree Collapse file tree 3 files changed +8
-4
lines changed Original file line number Diff line number Diff line change
1
+ ## 0.5.2
2
+
3
+ * Support for Flutter v0.5.1.
4
+
1
5
## 0.5.1
2
6
3
7
* Exposed Paystack Exception
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ class ApiService {
27
27
28
28
var statusCode = response.statusCode;
29
29
30
- if (statusCode == HttpStatus .ok ) {
30
+ if (statusCode == HttpStatus .OK ) {
31
31
Map <String , dynamic > responseBody = json.decode (body);
32
32
completer.complete (TransactionApiResponse .fromMap (responseBody));
33
33
} else {
@@ -52,7 +52,7 @@ class ApiService {
52
52
var body = response.body;
53
53
54
54
var statusCode = response.statusCode;
55
- if (statusCode == HttpStatus .ok ) {
55
+ if (statusCode == HttpStatus .OK ) {
56
56
Map <String , dynamic > responseBody = json.decode (body);
57
57
completer.complete (TransactionApiResponse .fromMap (responseBody));
58
58
} else {
@@ -73,7 +73,7 @@ class ApiService {
73
73
http.Response response = await http.get (url, headers: headers);
74
74
var body = response.body;
75
75
var statusCode = response.statusCode;
76
- if (statusCode == HttpStatus .ok ) {
76
+ if (statusCode == HttpStatus .OK ) {
77
77
Map <String , dynamic > responseBody = json.decode (body);
78
78
completer.complete (TransactionApiResponse .fromMap (responseBody));
79
79
} else {
Original file line number Diff line number Diff line change 1
1
name : flutter_paystack
2
2
description : A Flutter plugin for making payments via Paystack Payment Gateway. Completely supports Android and iOS.
3
- version : 0.5.1
3
+ version : 0.5.2
4
4
author : Wilberforce Uwadiegwu <faradaywilly@gmail.com>
5
5
homepage : https://github.com/wilburt/flutter_paystack
6
6
You can’t perform that action at this time.
0 commit comments