remove Hive from CryptoCurrency

This commit is contained in:
Serhii 2022-11-29 21:53:07 +02:00
parent 189a886fe2
commit 0fda053150

View file

@ -1,20 +1,16 @@
import 'package:cw_core/enumerable_item.dart';
import 'package:hive/hive.dart';
part 'crypto_currency.g.dart';
@HiveType(typeId: 0)
class CryptoCurrency extends EnumerableItem<int> with Serializable<int> {
const CryptoCurrency({
String title = '',
int raw = -1,
this.name,
required this.name,
this.fullName,
this.iconPath,
this.tag})
: super(title: title, raw: raw);
final String? name;
final String name;
final String? tag;
final String? fullName;
final String? iconPath;