copyWithWrapped method

SIPTrunkOutboundCallResponse copyWithWrapped({
  1. Wrapped<bool>? success,
  2. Wrapped<String>? message,
  3. Wrapped? conversationId,
  4. Wrapped? sipCallId,
})

Implementation

SIPTrunkOutboundCallResponse copyWithWrapped(
    {Wrapped<bool>? success,
    Wrapped<String>? message,
    Wrapped<dynamic>? conversationId,
    Wrapped<dynamic>? sipCallId}) {
  return SIPTrunkOutboundCallResponse(
      success: (success != null ? success.value : this.success),
      message: (message != null ? message.value : this.message),
      conversationId: (conversationId != null
          ? conversationId.value
          : this.conversationId),
      sipCallId: (sipCallId != null ? sipCallId.value : this.sipCallId));
}