copyWith method

AssetDetail copyWith({
  1. String? assetUniqueIdentifier,
  2. String? assetAccountIdentifier,
  3. String? assetAsOfDate,
  4. String? assetDescription,
  5. double? assetAvailableBalanceAmount,
  6. double? assetCurrentBalanceAmount,
  7. AssetType? assetType,
  8. String? assetTypeAdditionalDescription,
  9. int? assetDaysRequestedCount,
  10. String? assetOwnershipType,
})

Implementation

AssetDetail copyWith(
    {String? assetUniqueIdentifier,
    String? assetAccountIdentifier,
    String? assetAsOfDate,
    String? assetDescription,
    double? assetAvailableBalanceAmount,
    double? assetCurrentBalanceAmount,
    enums.AssetType? assetType,
    String? assetTypeAdditionalDescription,
    int? assetDaysRequestedCount,
    String? assetOwnershipType}) {
  return AssetDetail(
      assetUniqueIdentifier:
          assetUniqueIdentifier ?? this.assetUniqueIdentifier,
      assetAccountIdentifier:
          assetAccountIdentifier ?? this.assetAccountIdentifier,
      assetAsOfDate: assetAsOfDate ?? this.assetAsOfDate,
      assetDescription: assetDescription ?? this.assetDescription,
      assetAvailableBalanceAmount:
          assetAvailableBalanceAmount ?? this.assetAvailableBalanceAmount,
      assetCurrentBalanceAmount:
          assetCurrentBalanceAmount ?? this.assetCurrentBalanceAmount,
      assetType: assetType ?? this.assetType,
      assetTypeAdditionalDescription: assetTypeAdditionalDescription ??
          this.assetTypeAdditionalDescription,
      assetDaysRequestedCount:
          assetDaysRequestedCount ?? this.assetDaysRequestedCount,
      assetOwnershipType: assetOwnershipType ?? this.assetOwnershipType);
}