import 'dart:ffi'; import 'package:ffi/ffi.dart'; class HavenBalanceRow extends Struct { @Int64() external int amount; external Pointer assetType; int getAmount() => amount; String getAssetType() => assetType.toDartString(); }