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

12 lines
227 B
Dart
Raw Normal View History

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