create static method

SenderData create({
  1. String special_type = "senderData",
  2. String? name,
  3. String? address,
})
override

return original data json

Implementation

static SenderData create({
  String special_type = "senderData",
  String? name,
  String? address,
}) {
  // SenderData senderData = SenderData({

  SenderData senderData_data_create = SenderData({
    "@type": special_type,
    "name": name,
    "address": address,
  });

// return senderData;
  return senderData_data_create;
}