copyWith method

RemoteObject copyWith({
  1. Icon? icon,
  2. Status? status,
  3. String? summary,
  4. String? title,
  5. String? url,
})

Implementation

RemoteObject copyWith(
    {Icon? icon,
    Status? status,
    String? summary,
    String? title,
    String? url}) {
  return RemoteObject(
    icon: icon ?? this.icon,
    status: status ?? this.status,
    summary: summary ?? this.summary,
    title: title ?? this.title,
    url: url ?? this.url,
  );
}