copyWith method
LinkTokenGetMetadataResponse
copyWith({
- List<
Products> ? initialProducts, - String? webhook,
- List<
CountryCode> ? countryCodes, - String? language,
- LinkTokenCreateInstitutionData? institutionData,
- AccountFiltersResponse? accountFilters,
- String? redirectUri,
- String? clientName,
Implementation
LinkTokenGetMetadataResponse copyWith(
{List<enums.Products>? initialProducts,
String? webhook,
List<enums.CountryCode>? countryCodes,
String? language,
LinkTokenCreateInstitutionData? institutionData,
AccountFiltersResponse? accountFilters,
String? redirectUri,
String? clientName}) {
return LinkTokenGetMetadataResponse(
initialProducts: initialProducts ?? this.initialProducts,
webhook: webhook ?? this.webhook,
countryCodes: countryCodes ?? this.countryCodes,
language: language ?? this.language,
institutionData: institutionData ?? this.institutionData,
accountFilters: accountFilters ?? this.accountFilters,
redirectUri: redirectUri ?? this.redirectUri,
clientName: clientName ?? this.clientName);
}