copyWith method

AssetTransactionDetail copyWith({
  1. String? assetTransactionUniqueIdentifier,
  2. double? assetTransactionAmount,
  3. DateTime? assetTransactionDate,
  4. DateTime? assetTransactionPostDate,
  5. AssetTransactionType? assetTransactionType,
  6. String? assetTransactionPaidByName,
  7. String? assetTransactionTypeAdditionalDescription,
  8. AssetTransactionCategoryType? assetTransactionCategoryType,
  9. String? financialInstitutionTransactionIdentifier,
})

Implementation

AssetTransactionDetail copyWith(
    {String? assetTransactionUniqueIdentifier,
    double? assetTransactionAmount,
    DateTime? assetTransactionDate,
    DateTime? assetTransactionPostDate,
    enums.AssetTransactionType? assetTransactionType,
    String? assetTransactionPaidByName,
    String? assetTransactionTypeAdditionalDescription,
    enums.AssetTransactionCategoryType? assetTransactionCategoryType,
    String? financialInstitutionTransactionIdentifier}) {
  return AssetTransactionDetail(
      assetTransactionUniqueIdentifier: assetTransactionUniqueIdentifier ??
          this.assetTransactionUniqueIdentifier,
      assetTransactionAmount:
          assetTransactionAmount ?? this.assetTransactionAmount,
      assetTransactionDate: assetTransactionDate ?? this.assetTransactionDate,
      assetTransactionPostDate:
          assetTransactionPostDate ?? this.assetTransactionPostDate,
      assetTransactionType: assetTransactionType ?? this.assetTransactionType,
      assetTransactionPaidByName:
          assetTransactionPaidByName ?? this.assetTransactionPaidByName,
      assetTransactionTypeAdditionalDescription:
          assetTransactionTypeAdditionalDescription ??
              this.assetTransactionTypeAdditionalDescription,
      assetTransactionCategoryType:
          assetTransactionCategoryType ?? this.assetTransactionCategoryType,
      financialInstitutionTransactionIdentifier:
          financialInstitutionTransactionIdentifier ??
              this.financialInstitutionTransactionIdentifier);
}