copyWith method

ProcessorTokenCreateRequest copyWith({
  1. String? clientId,
  2. String? secret,
  3. String? accessToken,
  4. String? accountId,
  5. String? processor,
})

Implementation

ProcessorTokenCreateRequest copyWith(
    {String? clientId,
    String? secret,
    String? accessToken,
    String? accountId,
    String? processor}) {
  return ProcessorTokenCreateRequest(
      clientId: clientId ?? this.clientId,
      secret: secret ?? this.secret,
      accessToken: accessToken ?? this.accessToken,
      accountId: accountId ?? this.accountId,
      processor: processor ?? this.processor);
}