create static method
return original data json
Implementation
static CustomExpiry create({
String? special_type,
int? expiry_duration,
String? unit,
}) {
CustomExpiry customExpiry = CustomExpiry({
"@type": special_type,
"expiry_duration": expiry_duration,
"unit": unit,
});
return customExpiry;
}