DeliveryDocument constructor

DeliveryDocument({
  1. DeliveryDocumentId? id,
  2. Any? details,
  3. Delivery_DeliveryStatus? status,
  4. TrackAndTraceInfo? trackAndTraceInfo,
})

Implementation

factory DeliveryDocument({
  DeliveryDocumentId? id,
  $6.Any? details,
  Delivery_DeliveryStatus? status,
  TrackAndTraceInfo? trackAndTraceInfo,
}) {
  final result = create();
  if (id != null) result.id = id;
  if (details != null) result.details = details;
  if (status != null) result.status = status;
  if (trackAndTraceInfo != null) result.trackAndTraceInfo = trackAndTraceInfo;
  return result;
}