toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (entityTypeId != null) 'entityTypeId': entityTypeId!,
if (featureSelector != null) 'featureSelector': featureSelector!,
if (settings != null) 'settings': settings!,
};