BitcoinWalletAggregate constructor
BitcoinWalletAggregate({
- required String aggregateId,
- required String aggregateType,
- required EventStore eventStore,
- required CryptoService cryptoService,
- required SecureStorage secureStorage,
- TransactionBuilderService? transactionBuilder,
Implementation
BitcoinWalletAggregate({
required String aggregateId,
required String aggregateType,
required EventStore eventStore,
required this.cryptoService,
required this.secureStorage,
this.transactionBuilder,
}) : super(aggregateId: aggregateId, aggregateType: aggregateType, eventStore: eventStore) {
// Register handlers immediately upon construction
registerHandlers();
}