copyWith method

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

Implementation

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