mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-12-25 21:19:37 +00:00
12 lines
236 B
Dart
12 lines
236 B
Dart
import 'dart:ffi';
|
|
import 'package:ffi/ffi.dart';
|
|
|
|
class HavenRate extends Struct {
|
|
@Int64()
|
|
external int rate;
|
|
|
|
external Pointer<Utf8> assetType;
|
|
|
|
int getRate() => rate;
|
|
String getAssetType() => assetType.toDartString();
|
|
}
|