Target constructor
Target({})
Implementation
factory Target({
$core.String? id,
$0.Timestamp? creationDate,
$0.Timestamp? changeDate,
$core.String? name,
RESTWebhook? restWebhook,
RESTCall? restCall,
RESTAsync? restAsync,
$1.Duration? timeout,
$core.String? endpoint,
$core.String? signingKey,
PayloadType? payloadType,
}) {
final result = create();
if (id != null) result.id = id;
if (creationDate != null) result.creationDate = creationDate;
if (changeDate != null) result.changeDate = changeDate;
if (name != null) result.name = name;
if (restWebhook != null) result.restWebhook = restWebhook;
if (restCall != null) result.restCall = restCall;
if (restAsync != null) result.restAsync = restAsync;
if (timeout != null) result.timeout = timeout;
if (endpoint != null) result.endpoint = endpoint;
if (signingKey != null) result.signingKey = signingKey;
if (payloadType != null) result.payloadType = payloadType;
return result;
}