copyWith method

PaymentProfileGetResponse copyWith({
  1. DateTime? updatedAt,
  2. DateTime? createdAt,
  3. DateTime? deletedAt,
  4. PaymentProfileStatus? status,
  5. String? requestId,
})

Implementation

PaymentProfileGetResponse copyWith(
    {DateTime? updatedAt,
    DateTime? createdAt,
    DateTime? deletedAt,
    enums.PaymentProfileStatus? status,
    String? requestId}) {
  return PaymentProfileGetResponse(
      updatedAt: updatedAt ?? this.updatedAt,
      createdAt: createdAt ?? this.createdAt,
      deletedAt: deletedAt ?? this.deletedAt,
      status: status ?? this.status,
      requestId: requestId ?? this.requestId);
}