create static method

BerduTrackDataDetails create({
  1. String special_type = "berduTrackDataDetails",
  2. String? datetime,
  3. Object? shipperStatus,
  4. BerduTrackDataDetailLogisticStatus? logisticStatus,
  5. String? typename,
})
override

return original data json

Implementation

static BerduTrackDataDetails create({
  String special_type = "berduTrackDataDetails",
  String? datetime,
  Object? shipperStatus,
  BerduTrackDataDetailLogisticStatus? logisticStatus,
  String? typename,
}) {
  // BerduTrackDataDetails berduTrackDataDetails = BerduTrackDataDetails({

  BerduTrackDataDetails berduTrackDataDetails_data_create =
      BerduTrackDataDetails({
    "@type": special_type,
    "datetime": datetime,
    "shipperStatus": shipperStatus,
    "logisticStatus":
        (logisticStatus != null) ? logisticStatus.toJson() : null,
    "__typename": typename,
  });

// return berduTrackDataDetails;
  return berduTrackDataDetails_data_create;
}