copyWith method

SubscriptionLog copyWith({
  1. String? id,
  2. String? description,
  3. String? notes,
  4. String? createdat,
})

Implementation

SubscriptionLog copyWith({
  String? id,
  String? description,
  String? notes,
  String? createdat,
}) {
  return SubscriptionLog(
    id: id ?? this.id,
    description: description ?? this.description,
    notes: notes ?? this.notes,
    createdAt: createdat ?? this.createdAt,
  );
}