OpenChannelCommand constructor

OpenChannelCommand({
  1. required String channelId,
  2. required String fundingTxId,
  3. required int fundingOutputIndex,
  4. required String fundingTxHex,
  5. List<String> fundingAncestorTxids = const [],
  6. String? commandId,
  7. DateTime? timestamp,
  8. Map<String, dynamic>? metadata,
})

Implementation

OpenChannelCommand({
  required String channelId,
  required this.fundingTxId,
  required this.fundingOutputIndex,
  required this.fundingTxHex,
  this.fundingAncestorTxids = const [],
  String? commandId,
  DateTime? timestamp,
  Map<String, dynamic>? metadata,
}) : super(
        channelId: channelId,
        commandId: commandId,
        timestamp: timestamp,
        metadata: metadata,
      );