copyWith method

Media copyWith(
  1. {String? mid,
  2. String? type,
  3. String? label,
  4. int? ageMs}
)

Implementation

Media copyWith({
  String? mid,
  String? type,
  String? label,
  int? ageMs,
}) =>
    Media(
      mid: mid ?? this.mid,
      type: type ?? this.type,
      label: label ?? this.label,
      ageMs: ageMs ?? this.ageMs,
    );