copyWith method

Link copyWith({
  1. String? relation,
  2. Uri? url,
})

Makes a deep copy of this Link.

Implementation

Link copyWith({
  String? relation,
  Uri? url,
}) =>
    Link(
      relation: relation ?? this.relation,
      url: url ?? this.url,
    );