copyWith method

Output copyWith(
  1. {String? id,
  2. int? channel}
)

Builds a Output

  • id: The input id
  • channel: the channel number

Implementation

Output copyWith({String? id, int? channel}) {
  return Output(id: id ?? this.id, channel: channel ?? this.channel);
}