copyWith method

DepositSwitchCreateRequest copyWith({
  1. String? clientId,
  2. String? secret,
  3. String? targetAccessToken,
  4. String? targetAccountId,
  5. DepositSwitchCreateRequestCountryCode? countryCode,
  6. DepositSwitchCreateRequestOptions? options,
})

Implementation

DepositSwitchCreateRequest copyWith(
    {String? clientId,
    String? secret,
    String? targetAccessToken,
    String? targetAccountId,
    enums.DepositSwitchCreateRequestCountryCode? countryCode,
    DepositSwitchCreateRequestOptions? options}) {
  return DepositSwitchCreateRequest(
      clientId: clientId ?? this.clientId,
      secret: secret ?? this.secret,
      targetAccessToken: targetAccessToken ?? this.targetAccessToken,
      targetAccountId: targetAccountId ?? this.targetAccountId,
      countryCode: countryCode ?? this.countryCode,
      options: options ?? this.options);
}