copyWith method

Payee copyWith({
  1. String? id,
  2. String? name,
  3. String? transferAccountId,
  4. bool? deleted,
})

Implementation

Payee copyWith(
    {String? id, String? name, String? transferAccountId, bool? deleted}) {
  return Payee(
      id: id ?? this.id,
      name: name ?? this.name,
      transferAccountId: transferAccountId ?? this.transferAccountId,
      deleted: deleted ?? this.deleted);
}