mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-10-19 05:58:50 +02:00
13 lines
248 B
Dart
13 lines
248 B
Dart
import 'dart:ffi';
|
|
import 'package:ffi/ffi.dart';
|
|
|
|
class HavenBalanceRow extends Struct {
|
|
@Int64()
|
|
external int amount;
|
|
|
|
external Pointer<Utf8> assetType;
|
|
|
|
int getAmount() => amount;
|
|
String getAssetType() => assetType.toDartString();
|
|
}
|