copyWith method

Entry copyWith({
  1. Uri? fullUrl,
  2. Resource? resource,
  3. Search? search,
})

Creates a copy of this Entry but with the given fields replaced with the new values.

Implementation

Entry copyWith({
  Uri? fullUrl,
  Resource? resource,
  Search? search,
}) =>
    Entry(
      fullUrl: fullUrl ?? this.fullUrl,
      resource: resource ?? this.resource,
      search: search ?? this.search,
    );