copyWith method

Asset copyWith({
  1. AssetDetail? assetdetail,
  2. AssetOwners? assetowners,
  3. AssetHolder? assetholder,
  4. AssetTransactions? assettransactions,
  5. ValidationSources? validationsources,
})

Implementation

Asset copyWith(
    {AssetDetail? assetdetail,
    AssetOwners? assetowners,
    AssetHolder? assetholder,
    AssetTransactions? assettransactions,
    ValidationSources? validationsources}) {
  return Asset(
      assetdetail: assetdetail ?? this.assetdetail,
      assetowners: assetowners ?? this.assetowners,
      assetholder: assetholder ?? this.assetholder,
      assettransactions: assettransactions ?? this.assettransactions,
      validationsources: validationsources ?? this.validationsources);
}