cake_wallet/cw_haven/lib/api/structs/haven_rate.dart
2022-02-21 21:11:18 +02:00

11 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);
}