copyWith method Null safety

UnsubscribeStreams copyWith(
  1. {dynamic feed,
  2. dynamic mid,
  3. dynamic subMid}
)

Implementation

UnsubscribeStreams copyWith({
  dynamic feed,
  dynamic mid,
  dynamic subMid,
}) {
  return UnsubscribeStreams(
    feed: feed ?? this.feed,
    mid: mid ?? this.mid,
    subMid: subMid ?? this.subMid,
  );
}