Compare commits
2 Commits
e6ea764785
...
e5a2d0d1f1
Author | SHA1 | Date | |
---|---|---|---|
e5a2d0d1f1 | |||
842eef2cc7 |
@@ -2,10 +2,10 @@ import 'package:dio/dio.dart';
|
||||
import 'package:kmobile/data/models/imps_response.dart';
|
||||
import 'package:kmobile/data/models/imps_transaction.dart';
|
||||
|
||||
class RtgsService {
|
||||
class ImpsService {
|
||||
final Dio _dio;
|
||||
|
||||
RtgsService(this._dio);
|
||||
ImpsService(this._dio);
|
||||
|
||||
Future<ImpsResponse> processImpsTransaction(
|
||||
ImpsTransaction transaction) async {
|
||||
@@ -29,3 +29,5 @@ class RtgsService {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
@@ -1,5 +1,4 @@
|
||||
import 'dart:developer';
|
||||
|
||||
import 'package:dio/dio.dart';
|
||||
import 'package:kmobile/data/models/payment_response.dart';
|
||||
import 'package:kmobile/data/models/transfer.dart';
|
||||
@@ -39,3 +38,4 @@ class PaymentService {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@@ -18,7 +18,6 @@ class TransactionDetailsScreen extends StatelessWidget {
|
||||
// ui.Image image = await boundary.toImage(pixelRatio: 3.0);
|
||||
// ByteData? byteData = await image.toByteData(format: ui.ImageByteFormat.png);
|
||||
// Uint8List pngBytes = byteData!.buffer.asUint8List();
|
||||
|
||||
// final tempDir = await getTemporaryDirectory();
|
||||
// final file = await File('${tempDir.path}/payment_result.png').create();
|
||||
// await file.writeAsBytes(pngBytes);
|
||||
@@ -166,3 +165,5 @@ class TransactionDetailsScreen extends StatelessWidget {
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user