copyWith method

LinkDeliveryGetResponse copyWith({
  1. LinkDeliverySessionStatus? status,
  2. DateTime? createdAt,
  3. List<String>? publicTokens,
  4. DateTime? completedAt,
  5. String? requestId,
})

Implementation

LinkDeliveryGetResponse copyWith(
    {enums.LinkDeliverySessionStatus? status,
    DateTime? createdAt,
    List<String>? publicTokens,
    DateTime? completedAt,
    String? requestId}) {
  return LinkDeliveryGetResponse(
      status: status ?? this.status,
      createdAt: createdAt ?? this.createdAt,
      publicTokens: publicTokens ?? this.publicTokens,
      completedAt: completedAt ?? this.completedAt,
      requestId: requestId ?? this.requestId);
}