remove Hive from CryptoCurrency

Serhii committed Nov 29, 2022 at 21:53 UTC 0fda0531507073286afa7a21c64163aefab87cb8
1 file changed +2 -6
cw_core/lib/crypto_currency.dart
+2 -6
@@ -1,20 +1,16 @@
1 import 'package:cw_core/enumerable_item.dart';
2 -import 'package:hive/hive.dart';
2
4 -part 'crypto_currency.g.dart';
5 -
6 -@HiveType(typeId: 0)
3 class CryptoCurrency extends EnumerableItem<int> with Serializable<int> {
4 const CryptoCurrency({
5 String title = '',
6 int raw = -1,
11 - this.name,
7 + required this.name,
8 this.fullName,
9 this.iconPath,
10 this.tag})
11 : super(title: title, raw: raw);
12
17 - final String? name;
13 + final String name;
14 final String? tag;
15 final String? fullName;
16 final String? iconPath;