FullChannelStateResponse constructor

FullChannelStateResponse({
  1. required String channelId,
  2. required String walletId,
  3. required String status,
  4. String? role,
  5. required BigInt clientBalanceSats,
  6. required BigInt serverBalanceSats,
  7. required int latestSequenceNumber,
  8. required BigInt fundingAmountSats,
  9. String? fundingTxId,
  10. String? fundingTxHex,
  11. int? fundingOutputIndex,
  12. String? clientPubKeyHex,
  13. String? serverPubKeyHex,
  14. String? clientAddressB58,
  15. String? serverAddressB58,
  16. int? derivationIndex,
  17. int? lockTimeUnix,
  18. required bool success,
  19. String? error,
})

Implementation

FullChannelStateResponse({
  required this.channelId,
  required this.walletId,
  required this.status,
  this.role,
  required this.clientBalanceSats,
  required this.serverBalanceSats,
  required this.latestSequenceNumber,
  required this.fundingAmountSats,
  this.fundingTxId,
  this.fundingTxHex,
  this.fundingOutputIndex,
  this.clientPubKeyHex,
  this.serverPubKeyHex,
  this.clientAddressB58,
  this.serverAddressB58,
  this.derivationIndex,
  this.lockTimeUnix,
  required this.success,
  this.error,
}) : super(payload: null);