toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (customer != null) 'customer': customer!,
if (name != null) 'name': name!,
if (policyQuery != null) 'policyQuery': policyQuery!,
if (setting != null) 'setting': setting!,
if (type != null) 'type': type!,
};