CloseChannelCommand constructor

CloseChannelCommand({
  1. required String channelId,
  2. String? reason,
  3. String? commandId,
  4. DateTime? timestamp,
  5. Map<String, dynamic>? metadata,
})

Implementation

CloseChannelCommand({
  required String channelId,
  this.reason,
  String? commandId,
  DateTime? timestamp,
  Map<String, dynamic>? metadata,
}) : super(
        channelId: channelId,
        commandId: commandId,
        timestamp: timestamp,
        metadata: metadata,
      );