mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-12-27 14:09:50 +00: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;
|
||
|
}
|