Bootstrap constructor
Bootstrap({
- required Encryption encryption,
- void onUpdate()?,
Implementation
Bootstrap({required this.encryption, this.onUpdate}) {
if (analyzeSecrets().isNotEmpty) {
state = BootstrapState.askWipeSsss;
} else {
state = BootstrapState.askNewSsss;
}
}