mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-11-17 17:57:36 +00:00
19 lines
421 B
Dart
19 lines
421 B
Dart
|
import 'package:mobx/mobx.dart';
|
||
|
import 'package:cake_wallet/core/wallet_base.dart';
|
||
|
|
||
|
part 'wallet_seed_view_model.g.dart';
|
||
|
|
||
|
class WalletSeedViewModel = WalletSeedViewModelBase with _$WalletSeedViewModel;
|
||
|
|
||
|
abstract class WalletSeedViewModelBase with Store {
|
||
|
WalletSeedViewModelBase(WalletBase wallet)
|
||
|
: name = wallet.name,
|
||
|
seed = wallet.seed;
|
||
|
|
||
|
@observable
|
||
|
String name;
|
||
|
|
||
|
@observable
|
||
|
String seed;
|
||
|
}
|