forked from axiom-team/gecko
21 lines
349 B
Dart
21 lines
349 B
Dart
|
import 'package:hive_flutter/hive_flutter.dart';
|
||
|
|
||
|
part 'chestData.g.dart';
|
||
|
|
||
|
@HiveType(typeId: 1)
|
||
|
class ChestData extends HiveObject {
|
||
|
@HiveField(0)
|
||
|
String dewif;
|
||
|
|
||
|
@HiveField(2)
|
||
|
String name;
|
||
|
|
||
|
ChestData({this.dewif, this.name});
|
||
|
|
||
|
// representation of WalletData when debugging
|
||
|
@override
|
||
|
String toString() {
|
||
|
return this.name;
|
||
|
}
|
||
|
}
|