ChannelClosingEvent constructor

ChannelClosingEvent({
  1. required String channelId,
  2. String? reason,
  3. required String initiator,
  4. required BigInt clientBalanceSats,
  5. required BigInt serverBalanceSats,
  6. String? eventId,
  7. DateTime? timestamp,
  8. int? version,
  9. Map<String, dynamic>? metadata,
})

Implementation

ChannelClosingEvent({
  required String channelId,
  this.reason,
  required this.initiator,
  required this.clientBalanceSats,
  required this.serverBalanceSats,
  String? eventId,
  DateTime? timestamp,
  int? version,
  Map<String, dynamic>? metadata,
}) : super(
        channelId: channelId,
        eventId: eventId,
        timestamp: timestamp,
        version: version,
        metadata: metadata,
      );