mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-10-19 05:58:50 +02:00
13 lines
274 B
Dart
13 lines
274 B
Dart
import 'dart:ffi';
|
|
import 'package:ffi/ffi.dart';
|
|
|
|
class SubaddressRow extends Struct {
|
|
@Int64()
|
|
int id;
|
|
Pointer<Utf8> address;
|
|
Pointer<Utf8> label;
|
|
|
|
String getLabel() => Utf8.fromUtf8(label);
|
|
String getAddress() => Utf8.fromUtf8(address);
|
|
int getId() => id;
|
|
} |