copyWith method

Streams copyWith({
  1. bool? disabled,
  2. String? description,
  3. bool? moderated,
  4. bool? simulcast,
  5. bool? svc,
  6. String? type,
  7. int? mindex,
  8. String? codec,
  9. String? mid,
  10. bool? fec,
  11. bool? talking,
})

Implementation

Streams copyWith({
  bool? disabled,
  String? description,
  bool? moderated,
  bool? simulcast,
  bool? svc,
  String? type,
  int? mindex,
  String? codec,
  String? mid,
  bool? fec,
  bool? talking,
}) {
  return Streams(
    disabled: disabled ?? this.disabled,
    description: description ?? this.description,
    moderated: moderated ?? this.moderated,
    simulcast: simulcast ?? this.simulcast,
    svc: svc ?? this.svc,
    type: type ?? this.type,
    mindex: mindex ?? this.mindex,
    codec: codec ?? this.codec,
    mid: mid ?? this.mid,
    fec: fec ?? this.fec,
    talking: talking ?? this.talking,
  );
}