create static method
CustomerDetails
create({
- String? special_type,
- String? first_name,
- String? last_name,
- String? email,
- String? phone,
- String? notes,
- List<
String> ? customer_details_required_fields,
override
return original data json
Implementation
static CustomerDetails create({
String? special_type,
String? first_name,
String? last_name,
String? email,
String? phone,
String? notes,
List<String>? customer_details_required_fields,
}) {
CustomerDetails customerDetails = CustomerDetails({
"@type": special_type,
"first_name": first_name,
"last_name": last_name,
"email": email,
"phone": phone,
"notes": notes,
"customer_details_required_fields": customer_details_required_fields,
});
return customerDetails;
}