mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-01-03 17:40:43 +00:00
remove Hive from CryptoCurrency
This commit is contained in:
parent
189a886fe2
commit
0fda053150
1 changed files with 2 additions and 6 deletions
|
@ -1,20 +1,16 @@
|
||||||
import 'package:cw_core/enumerable_item.dart';
|
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> {
|
class CryptoCurrency extends EnumerableItem<int> with Serializable<int> {
|
||||||
const CryptoCurrency({
|
const CryptoCurrency({
|
||||||
String title = '',
|
String title = '',
|
||||||
int raw = -1,
|
int raw = -1,
|
||||||
this.name,
|
required this.name,
|
||||||
this.fullName,
|
this.fullName,
|
||||||
this.iconPath,
|
this.iconPath,
|
||||||
this.tag})
|
this.tag})
|
||||||
: super(title: title, raw: raw);
|
: super(title: title, raw: raw);
|
||||||
|
|
||||||
final String? name;
|
final String name;
|
||||||
final String? tag;
|
final String? tag;
|
||||||
final String? fullName;
|
final String? fullName;
|
||||||
final String? iconPath;
|
final String? iconPath;
|
||||||
|
|
Loading…
Reference in a new issue