copyWith method

CreditRelayCreateRequest copyWith({
  1. String? clientId,
  2. String? secret,
  3. List<String>? reportTokens,
  4. String? secondaryClientId,
  5. String? webhook,
})

Implementation

CreditRelayCreateRequest copyWith(
    {String? clientId,
    String? secret,
    List<String>? reportTokens,
    String? secondaryClientId,
    String? webhook}) {
  return CreditRelayCreateRequest(
      clientId: clientId ?? this.clientId,
      secret: secret ?? this.secret,
      reportTokens: reportTokens ?? this.reportTokens,
      secondaryClientId: secondaryClientId ?? this.secondaryClientId,
      webhook: webhook ?? this.webhook);
}