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

12 lines
215 B
Dart
Raw Normal View History

2022-03-30 15:57:04 +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);
}