Bootstrap constructor

Bootstrap({
  1. required Encryption encryption,
  2. void onUpdate(
    1. Bootstrap
    )?,
})

Implementation

Bootstrap({required this.encryption, this.onUpdate}) {
  if (analyzeSecrets().isNotEmpty) {
    state = BootstrapState.askWipeSsss;
  } else {
    state = BootstrapState.askNewSsss;
  }
}