RequestChannelCommand constructor

RequestChannelCommand({
  1. required String channelId,
  2. required String walletId,
  3. required String clientPeerId,
  4. required String serverPeerId,
  5. required String clientPubKeyHex,
  6. required String clientAddressB58,
  7. required int derivationIndex,
  8. required BigInt fundingAmountSats,
  9. required int lockTimeDurationSeconds,
  10. String? context,
  11. String? commandId,
  12. DateTime? timestamp,
  13. Map<String, dynamic>? metadata,
})

Implementation

RequestChannelCommand({
  required String channelId,
  required this.walletId,
  required this.clientPeerId,
  required this.serverPeerId,
  required this.clientPubKeyHex,
  required this.clientAddressB58,
  required this.derivationIndex,
  required this.fundingAmountSats,
  required this.lockTimeDurationSeconds,
  this.context,
  String? commandId,
  DateTime? timestamp,
  Map<String, dynamic>? metadata,
}) : super(
        channelId: channelId,
        commandId: commandId,
        timestamp: timestamp,
        metadata: metadata,
      );