mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-12-24 12:39:37 +00:00
22 lines
495 B
Dart
22 lines
495 B
Dart
import 'package:cw_core/wallet_info.dart';
|
|
|
|
abstract class WalletCredentials {
|
|
WalletCredentials({
|
|
required this.name,
|
|
this.height,
|
|
this.seedPhraseLength,
|
|
this.walletInfo,
|
|
this.password,
|
|
DerivationInfo? derivationInfo,
|
|
}) {
|
|
if (this.walletInfo != null && derivationInfo != null) {
|
|
this.walletInfo!.derivationInfo = derivationInfo;
|
|
}
|
|
}
|
|
|
|
final String name;
|
|
final int? height;
|
|
int? seedPhraseLength;
|
|
String? password;
|
|
WalletInfo? walletInfo;
|
|
}
|