diff options
author | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2022-10-24 17:23:02 +0800 |
---|---|---|
committer | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2022-10-24 17:23:02 +0800 |
commit | d47215ddcca5b90eb360b15d7d0d852121070019 (patch) | |
tree | 8b3b5427a418d3ed9118522663f370160d4d1010 /midtrans.dart | |
parent | aee3e52502b721a3d54ccf067cdce47847887ad1 (diff) |
Remove all externals & change long to int
Diffstat (limited to 'midtrans.dart')
-rw-r--r-- | midtrans.dart | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/midtrans.dart b/midtrans.dart index bf6f2f4..4e65405 100644 --- a/midtrans.dart +++ b/midtrans.dart @@ -5,17 +5,17 @@ import 'package:ffi/ffi.dart'; import 'package:path/path.dart' as path; class MidtransTransaction extends Struct { - external Pointer<Utf8> order_id; + Pointer<Utf8> order_id; @Long() - external long gross_amount; + int gross_amount; } class MidtransBanktransfer extends Struct { - external Pointer<Utf8> bank; - external Pointer<Utf8> va_number; - external Pointer<Utf8> bca; - external Pointer<Utf8> permata; + Pointer<Utf8> bank; + Pointer<Utf8> va_number; + Pointer<Utf8> bca; + Pointer<Utf8> permata; } class Midtrans { |