copyWith method

LinkTokenGetResponse copyWith({
  1. String? linkToken,
  2. DateTime? createdAt,
  3. DateTime? expiration,
  4. LinkTokenGetMetadataResponse? metadata,
  5. String? requestId,
})

Implementation

LinkTokenGetResponse copyWith(
    {String? linkToken,
    DateTime? createdAt,
    DateTime? expiration,
    LinkTokenGetMetadataResponse? metadata,
    String? requestId}) {
  return LinkTokenGetResponse(
      linkToken: linkToken ?? this.linkToken,
      createdAt: createdAt ?? this.createdAt,
      expiration: expiration ?? this.expiration,
      metadata: metadata ?? this.metadata,
      requestId: requestId ?? this.requestId);
}