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

12 lines
215 B
Dart
Raw Normal View History

2022-02-21 19:11:18 +00:00
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);
}