copyWith method

StreamingItem copyWith(
  1. {int? id,
  2. String? type,
  3. String? description,
  4. String? metadata,
  5. bool? enabled,
  6. List<Media>? media}
)

Implementation

StreamingItem copyWith({
  int? id,
  String? type,
  String? description,
  String? metadata,
  bool? enabled,
  List<Media>? media,
}) =>
    StreamingItem(
      id: id ?? this.id,
      type: type ?? this.type,
      description: description ?? this.description,
      metadata: metadata ?? this.metadata,
      enabled: enabled ?? this.enabled,
      media: media ?? this.media,
    );