copyWith method

ChromeCastSubtitle copyWith({
  1. double? id,
  2. String? name,
  3. String? source,
  4. String? language,
})

Implementation

ChromeCastSubtitle copyWith({
  double? id,
  String? name,
  String? source,
  String? language,
}) {
  return ChromeCastSubtitle(
    id: id ?? this.id,
    name: name ?? this.name,
    source: source ?? this.source,
    language: language ?? this.language,
  );
}