mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-10-17 05:41:29 +02:00
remove Hive from CryptoCurrency
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user