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