mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-10-31 09:27:40 +00:00
12 lines
215 B
Dart
12 lines
215 B
Dart
|
import 'dart:ffi';
|
||
|
import 'package:ffi/ffi.dart';
|
||
|
|
||
|
class HavenRate extends Struct {
|
||
|
@Int64()
|
||
|
int rate;
|
||
|
Pointer<Utf8> assetType;
|
||
|
|
||
|
int getRate() => rate;
|
||
|
String getAssetType() => Utf8.fromUtf8(assetType);
|
||
|
}
|