copyWith abstract method

  1. @useResult
Project copyWith({
  1. int? id,
  2. DateTime? createdAt,
  3. DateTime? updatedAt,
  4. DateTime? archivedAt,
  5. String? cloudProjectId,
  6. UuidValue? ownerId,
  7. Owner? owner,
  8. Subscription? subscription,
  9. List<Role>? roles,
  10. List<Capsule>? capsules,
})

Returns a shallow copy of this Project with some or all fields replaced by the given arguments.

Implementation

@_i1.useResult
Project copyWith({
  int? id,
  DateTime? createdAt,
  DateTime? updatedAt,
  DateTime? archivedAt,
  String? cloudProjectId,
  _i1.UuidValue? ownerId,
  _i2.Owner? owner,
  _i3.Subscription? subscription,
  List<_i4.Role>? roles,
  List<_i5.Capsule>? capsules,
});