copyWith method
Cause
copyWith(
{ - String? itemId,
- PlaidErrorType? errorType,
- String? errorCode,
- String? errorMessage,
- String? displayMessage,
- String? requestId,
- List<Object>? causes,
- double? status,
- String? documentationUrl,
- String? suggestedAction,
})
Implementation
Cause copyWith(
{String? itemId,
enums.PlaidErrorType? errorType,
String? errorCode,
String? errorMessage,
String? displayMessage,
String? requestId,
List<Object>? causes,
double? status,
String? documentationUrl,
String? suggestedAction}) {
return Cause(
itemId: itemId ?? this.itemId,
errorType: errorType ?? this.errorType,
errorCode: errorCode ?? this.errorCode,
errorMessage: errorMessage ?? this.errorMessage,
displayMessage: displayMessage ?? this.displayMessage,
requestId: requestId ?? this.requestId,
causes: causes ?? this.causes,
status: status ?? this.status,
documentationUrl: documentationUrl ?? this.documentationUrl,
suggestedAction: suggestedAction ?? this.suggestedAction);
}