toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (alertsEmails != null) 'alertsEmails': alertsEmails!,
if (email != null) 'email': email!,
if (name != null) 'name': name!,
if (phone != null) 'phone': phone!,
};