Ticket constructor
Ticket({
- String? id,
- Assignment? assignment,
- SearchFields? searchFields,
- Map<
String, Any> ? extensions, - Map<
String, Any> ? persistentField, - Timestamp? createTime,
Implementation
factory Ticket({
$core.String? id,
Assignment? assignment,
SearchFields? searchFields,
$core.Map<$core.String, $8.Any>? extensions,
$core.Map<$core.String, $8.Any>? persistentField,
$7.Timestamp? createTime,
}) {
final _result = create();
if (id != null) {
_result.id = id;
}
if (assignment != null) {
_result.assignment = assignment;
}
if (searchFields != null) {
_result.searchFields = searchFields;
}
if (extensions != null) {
_result.extensions.addAll(extensions);
}
if (persistentField != null) {
_result.persistentField.addAll(persistentField);
}
if (createTime != null) {
_result.createTime = createTime;
}
return _result;
}