copyWith method
Item
copyWith(
{ - String? itemId,
- String? institutionId,
- String? webhook,
- PlaidError? error,
- List<Products>? availableProducts,
- List<Products>? billedProducts,
- List<Products>? products,
- List<Products>? consentedProducts,
- DateTime? consentExpirationTime,
- ItemUpdateType? updateType,
})
Implementation
Item copyWith(
{String? itemId,
String? institutionId,
String? webhook,
PlaidError? error,
List<enums.Products>? availableProducts,
List<enums.Products>? billedProducts,
List<enums.Products>? products,
List<enums.Products>? consentedProducts,
DateTime? consentExpirationTime,
enums.ItemUpdateType? updateType}) {
return Item(
itemId: itemId ?? this.itemId,
institutionId: institutionId ?? this.institutionId,
webhook: webhook ?? this.webhook,
error: error ?? this.error,
availableProducts: availableProducts ?? this.availableProducts,
billedProducts: billedProducts ?? this.billedProducts,
products: products ?? this.products,
consentedProducts: consentedProducts ?? this.consentedProducts,
consentExpirationTime:
consentExpirationTime ?? this.consentExpirationTime,
updateType: updateType ?? this.updateType);
}