cake_wallet/cw_nano/lib/api/structs/subaddress_row.dart
2023-07-24 16:23:09 -04:00

15 lines
No EOL
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;
}