cake_wallet/cw_haven/lib/api/structs/haven_balance_row.dart

13 lines
248 B
Dart
Raw Permalink Normal View History

2022-03-30 15:57:04 +00:00
import 'dart:ffi';
import 'package:ffi/ffi.dart';
class HavenBalanceRow extends Struct {
@Int64()
2022-10-12 17:09:57 +00:00
external int amount;
external Pointer<Utf8> assetType;
2022-03-30 15:57:04 +00:00
int getAmount() => amount;
2022-10-12 17:09:57 +00:00
String getAssetType() => assetType.toDartString();
2022-03-30 15:57:04 +00:00
}