copyWith method

ReleasesCompanion copyWith({
  1. Value<int>? id,
  2. Value<String>? componentId,
  3. Value<int?>? releaseType,
  4. Value<String?>? version,
  5. Value<String?>? date,
  6. Value<String?>? timestamp,
  7. Value<String?>? dateEol,
  8. Value<int?>? urgency,
  9. Value<String?>? description,
  10. Value<String?>? url,
})

Implementation

ReleasesCompanion copyWith({
  Value<int>? id,
  Value<String>? componentId,
  Value<int?>? releaseType,
  Value<String?>? version,
  Value<String?>? date,
  Value<String?>? timestamp,
  Value<String?>? dateEol,
  Value<int?>? urgency,
  Value<String?>? description,
  Value<String?>? url,
}) {
  return ReleasesCompanion(
    id: id ?? this.id,
    componentId: componentId ?? this.componentId,
    releaseType: releaseType ?? this.releaseType,
    version: version ?? this.version,
    date: date ?? this.date,
    timestamp: timestamp ?? this.timestamp,
    dateEol: dateEol ?? this.dateEol,
    urgency: urgency ?? this.urgency,
    description: description ?? this.description,
    url: url ?? this.url,
  );
}