mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-12-27 14:09:50 +00:00
15 lines
307 B
Dart
15 lines
307 B
Dart
|
import 'dart:ffi';
|
||
|
import 'package:ffi/ffi.dart';
|
||
|
|
||
|
class SubaddressRow extends Struct {
|
||
|
@Int64()
|
||
|
external int id;
|
||
|
|
||
|
external Pointer<Utf8> address;
|
||
|
|
||
|
external Pointer<Utf8> label;
|
||
|
|
||
|
String getLabel() => label.toDartString();
|
||
|
String getAddress() => address.toDartString();
|
||
|
int getId() => id;
|
||
|
}
|