cake_wallet/cw_haven/lib/api/structs/account_row.dart

13 lines
219 B
Dart
Raw Normal View History

2022-03-30 15:57:04 +00:00
import 'dart:ffi';
import 'package:ffi/ffi.dart';
class AccountRow extends Struct {
@Int64()
2022-10-12 17:09:57 +00:00
external int id;
external Pointer<Utf8> label;
2022-03-30 15:57:04 +00:00
2022-10-12 17:09:57 +00:00
String getLabel() => label.toDartString();
2022-03-30 15:57:04 +00:00
int getId() => id;
}