toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (mailsSentCount != null) 'mailsSentCount': mailsSentCount!,
if (name != null) 'name': name!,
if (state != null) 'state': state!,
if (updateTime != null) 'updateTime': updateTime!,
};