copy method

Link copy(
  1. {String? id,
  2. String? href,
  3. bool? templated,
  4. String? type,
  5. String? title,
  6. Set<String>? rels,
  7. Properties? properties,
  8. int? height,
  9. int? width,
  10. double? bitrate,
  11. double? duration,
  12. List<String>? languages,
  13. List<Link>? alternates,
  14. List<Link>? children}
)

Implementation

Link copy({
  String? id,
  String? href,
  bool? templated,
  String? type,
  String? title,
  Set<String>? rels,
  Properties? properties,
  int? height,
  int? width,
  double? bitrate,
  double? duration,
  List<String>? languages,
  List<Link>? alternates,
  List<Link>? children,
}) =>
    Link(
      id: id ?? this.id,
      href: href ?? this.href,
      templated: templated ?? this.templated,
      type: type ?? this.type,
      title: title ?? this.title,
      rels: rels ?? this.rels,
      properties: properties ?? this.properties,
      height: height ?? this.height,
      width: width ?? this.width,
      bitrate: bitrate ?? this.bitrate,
      duration: duration ?? this.duration,
      languages: languages ?? this.languages,
      alternates: alternates ?? this.alternates,
      children: children ?? this.children,
    );