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? fundingBeefHex,
  7. String? commandId,
  8. DateTime? timestamp,
  9. Map<String, dynamic>? metadata,
})

Implementation

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