GenerateAddressCommand constructor

GenerateAddressCommand({
  1. required String walletId,
  2. String? label,
  3. String? purpose,
  4. bool includePublicKey = false,
  5. String? correlationId,
  6. String? commandId,
  7. DateTime? timestamp,
  8. Map<String, dynamic>? metadata,
})

Implementation

GenerateAddressCommand({
  required String walletId,
  this.label,
  this.purpose,
  this.includePublicKey = false,
  String? correlationId,
  String? commandId,
  DateTime? timestamp,
  Map<String, dynamic>? metadata,
}) : super(
        walletId: walletId,
        commandId: commandId,
        timestamp: timestamp,
        metadata: {
          ...?metadata,
          if (correlationId != null) 'correlationId': correlationId,
        },
      );