copyWith method

SandboxPublicTokenCreateRequest copyWith({
  1. String? clientId,
  2. String? secret,
  3. String? institutionId,
  4. List<Products>? initialProducts,
  5. SandboxPublicTokenCreateRequestOptions? options,
})

Implementation

SandboxPublicTokenCreateRequest copyWith(
    {String? clientId,
    String? secret,
    String? institutionId,
    List<enums.Products>? initialProducts,
    SandboxPublicTokenCreateRequestOptions? options}) {
  return SandboxPublicTokenCreateRequest(
      clientId: clientId ?? this.clientId,
      secret: secret ?? this.secret,
      institutionId: institutionId ?? this.institutionId,
      initialProducts: initialProducts ?? this.initialProducts,
      options: options ?? this.options);
}