copyWith method

PagedLinkDTO copyWith({
  1. String? base,
  2. String? context,
  3. String? next,
  4. String? prev,
  5. String? self,
})

Implementation

PagedLinkDTO copyWith(
    {String? base,
    String? context,
    String? next,
    String? prev,
    String? self}) {
  return PagedLinkDTO(
    base: base ?? this.base,
    context: context ?? this.context,
    next: next ?? this.next,
    prev: prev ?? this.prev,
    self: self ?? this.self,
  );
}